heads/patches/newt-0.52.24.patch
Thierry Laurion 2a8cc11a46
newt (whiptail): bump version 0.52.20 -> 0.52.24 (fixs random whiptail crash with newer muslc + parallel builds
popt havent't changed.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2024-11-07 10:19:49 -05:00

21 lines
634 B
Diff

--- ./listbox.c.orig 2023-10-11 15:26:20.365000000 -0400
+++ ./listbox.c 2023-10-11 15:27:26.762000000 -0400
@@ -652,7 +652,7 @@
for(i = 0, item = li->boxItems; item != NULL &&
i < li->currItem; i++, item = item->next);
- if (item && item->text && (toupper(*item->text) == toupper(ev.u.key))) {
+ if (item && item->text && *item->text == ev.u.key) {
item = item->next;
i++;
} else {
@@ -660,7 +660,7 @@
i = 0;
}
while (item && item->text &&
- toupper(*item->text) != toupper(ev.u.key)) {
+ *item->text != ev.u.key) {
item = item->next;
i++;
}