Update of /cvsroot/tmux/tmux
In directory vz-cvs-2.sog:/tmp/cvs-serv25797

Modified Files:
        tty-keys.c 
Log Message:
Make sure non-UTF8 mouse coordinates are kept to 8-bit values.

Index: tty-keys.c
===================================================================
RCS file: /cvsroot/tmux/tmux/tty-keys.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- tty-keys.c  7 Jan 2011 14:34:45 -0000       1.59
+++ tty-keys.c  4 Mar 2011 20:36:59 -0000       1.60
@@ -630,10 +630,10 @@
                                utf8_append(&utf8data, buf[*size]);
                                value = utf8_combine(&utf8data);
                        } else
-                               value = buf[*size];
+                               value = (unsigned char)buf[*size];
                        (*size)++;
                } else {
-                       value = buf[*size];
+                       value = (unsigned char)buf[*size];
                        (*size)++;
                }
 


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to