]> git.eshelyaron.com Git - emacs.git/commitdiff
(dos_rawgetc): Make buf longer.
authorRichard M. Stallman <rms@gnu.org>
Fri, 12 Jan 1996 19:44:39 +0000 (19:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 12 Jan 1996 19:44:39 +0000 (19:44 +0000)
src/msdos.c

index 4c0c36a4ad76852a670d7f233f653cfee215eb6d..208402c245ee149b73ed605fb230c11f8b73f98f 100644 (file)
@@ -1260,7 +1260,7 @@ dos_rawgetc ()
 #ifndef HAVE_X_WINDOWS
       if (!NILP (Vdos_display_scancodes))
        {
-         char buf[10];
+         char buf[11];
          sprintf (buf, "%02x:%02x*%04x",
                   (unsigned) (sc&0xff), (unsigned) c, mask);
          dos_direct_output (screen_size_Y - 2, screen_size_X - 12, buf, 10);