qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] Changes to qemacs/tty.c


From: Charlie Gordon
Subject: [Qemacs-commit] Changes to qemacs/tty.c
Date: Fri, 08 Jul 2005 05:30:51 -0400

Index: qemacs/tty.c
diff -u qemacs/tty.c:1.15 qemacs/tty.c:1.16
--- qemacs/tty.c:1.15   Wed May 18 22:35:57 2005
+++ qemacs/tty.c        Fri Jul  8 09:30:44 2005
@@ -71,7 +71,7 @@
     return 1;
 }
 
-extern QEDisplay tty_dpy;
+static QEDisplay tty_dpy;
 
 static int term_init(QEditScreen *s, int w, int h)
 {
@@ -301,7 +301,7 @@
     if (s->charset == &charset_utf8) {
         if (ts->utf8_state == 0) {
             const char *p;
-            p = ts->buf;
+            p = (const char *)ts->buf;
             ch = utf8_decode(&p);
         } else {
             ts->utf8_state = utf8_length[ts->buf[0]] - 1;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]