Mercurial > pidgin
changeset 15816:317e7613e581
Allow non-alt non-ctrl bindings. I broke this with me last few changes.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 18 Mar 2007 18:17:14 +0000 |
parents | 0d9dc0f1597a |
children | 0e3a8505ebbe |
files | console/libgnt/gntkeys.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/console/libgnt/gntkeys.c Sun Mar 18 17:29:49 2007 +0000 +++ b/console/libgnt/gntkeys.c Sun Mar 18 18:17:14 2007 +0000 @@ -88,7 +88,6 @@ } for (a = 0; alts[a]; a++) { - if (a == 0 && c == 0) continue; for (ch = 0; ch < 26; ch++) { char str[2] = {'a' + ch, 0}, code[4] = "\0\0\0\0"; int ind = 0; @@ -100,7 +99,7 @@ } } c = 0; - for (a = 1; alts[a]; a++) { + for (a = 0; alts[a]; a++) { /* Upper-case alphabets */ for (ch = 0; ch < 26; ch++) { char str[2] = {'A' + ch, 0}, code[] = {'\033', 'A' + ch, 0};