mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 12:46:26 +00:00
2a8cc11a46
popt havent't changed. Signed-off-by: Thierry Laurion <insurgo@riseup.net>
21 lines
634 B
Diff
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++;
|
|
}
|