/[qemacs]/qemacs/tty.c
ViewVC logotype

Diff of /qemacs/tty.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by chqrlie, Wed May 18 22:35:57 2005 UTC revision 1.16 by chqrlie, Fri Jul 8 09:30:44 2005 UTC
# Line 71  static int term_probe(void) Line 71  static int term_probe(void)
71      return 1;      return 1;
72  }  }
73    
74  extern QEDisplay tty_dpy;  static QEDisplay tty_dpy;
75    
76  static int term_init(QEditScreen *s, int w, int h)  static int term_init(QEditScreen *s, int w, int h)
77  {  {
# Line 301  static void tty_read_handler(void *opaqu Line 301  static void tty_read_handler(void *opaqu
301      if (s->charset == &charset_utf8) {      if (s->charset == &charset_utf8) {
302          if (ts->utf8_state == 0) {          if (ts->utf8_state == 0) {
303              const char *p;              const char *p;
304              p = ts->buf;              p = (const char *)ts->buf;
305              ch = utf8_decode(&p);              ch = utf8_decode(&p);
306          } else {          } else {
307              ts->utf8_state = utf8_length[ts->buf[0]] - 1;              ts->utf8_state = utf8_length[ts->buf[0]] - 1;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26