[ekg-commit] ekg: ui-ncurses.c (HEAD) [gophi]
EKG commit list
ekg-commit at lists.ziew.org
Wed Jun 13 14:27:57 CEST 2007
Module name: ekg
Changes by: gophi 2007-06-13 14:27:55
Modified files:
ui-ncurses.c
Log message:
- poprawienie bindowania Ctrl-costam (qyon,darkjames/g)
Index: ui-ncurses.c
===================================================================
RCS file: /home/cvs/ekg/src/ui-ncurses.c,v
diff -d -u -r1.413 -r1.414
--- ui-ncurses.c 15 Oct 2006 10:32:13 -0000 1.413
+++ ui-ncurses.c 13 Jun 2007 12:27:55 -0000 1.414
@@ -5108,7 +5108,7 @@
if (!strncasecmp(key, "Ctrl-", 5)) {
unsigned char ch;
- if (strlen(key) != 6)
+ if (strlen(key) != 6 || !xisalpha(key[5]))
return -1;
ch = xtoupper(key[5]);
More information about the ekg-commit
mailing list