From: Richard M. Stallman Date: Fri, 12 Jan 1996 19:44:39 +0000 (+0000) Subject: (dos_rawgetc): Make buf longer. X-Git-Tag: emacs-19.34~1703 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c87d0294a0319c1ae3beb5e226bfbf8bbecb1593;p=emacs.git (dos_rawgetc): Make buf longer. --- diff --git a/src/msdos.c b/src/msdos.c index 4c0c36a4ad7..208402c245e 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -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);