Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv4379
Modified Files:
key-string.c
Log Message:
When converting A-Z into a control character, want to subtract 64 not
65... whoops.
Index: key-string.c
===================================================================
RCS file: /cvsroot/tmux/tmux/key-string.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- key-string.c 22 Apr 2010 21:50:30 -0000 1.30
+++ key-string.c 23 Apr 2010 20:33:08 -0000 1.31
@@ -155,7 +155,7 @@
if (key >= 97 && key <= 122)
key -= 96;
else if (key >= 65 && key <= 90)
- key -= 65;
+ key -= 64;
else if (key == 32)
key = 0;
else if (key == 63)
------------------------------------------------------------------------------
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs