patch-1.3.96 linux/scripts/lxdialog/menubox.c
Next file: linux/scripts/lxdialog/util.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Apr 27 13:18:18 1996
- Orig file:
v1.3.95/linux/scripts/lxdialog/menubox.c
- Orig date:
Fri Apr 19 10:08:03 1996
diff -u --recursive --new-file v1.3.95/linux/scripts/lxdialog/menubox.c linux/scripts/lxdialog/menubox.c
@@ -199,7 +199,7 @@
while (key != ESC) {
key = wgetch(dialog);
- if (isalpha(key)) key = tolower(key);
+ if (key < 256 && isalpha(key)) key = tolower(key);
if (strchr("ynm", key))
i = max_choice;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this