/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

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

revision 1.672 by pj, Sat Oct 27 21:41:34 2001 UTC revision 1.673 by gerd, Mon Oct 29 09:44:31 2001 UTC
# Line 10593  XTread_socket (sd, bufp, numchars, expec Line 10593  XTread_socket (sd, bufp, numchars, expec
10593                               character events.  */                               character events.  */
10594                            for (i = 0; i < nbytes; i += len)                            for (i = 0; i < nbytes; i += len)
10595                              {                              {
10596                                c = STRING_CHAR_AND_LENGTH (copy_bufptr + i,                                if (nchars == nbytes)
10597                                                            nbytes - i, len);                                  c = copy_bufptr[i], len = 1;
10598                                  else
10599                                    c = STRING_CHAR_AND_LENGTH (copy_bufptr + i,
10600                                                                nbytes - i, len);
10601                                  
10602                                bufp->kind = (SINGLE_BYTE_CHAR_P (c)                                bufp->kind = (SINGLE_BYTE_CHAR_P (c)
10603                                              ? ascii_keystroke                                              ? ascii_keystroke
10604                                              : multibyte_char_keystroke);                                              : multibyte_char_keystroke);

Legend:
Removed from v.1.672  
changed lines
  Added in v.1.673

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