changeset 14157:38606398dfa6

(dos_rawgetc): Make buf longer.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Jan 1996 19:44:39 +0000
parents e8597b3f58cf
children 9d42246240c3
files src/msdos.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Fri Jan 12 18:30:11 1996 +0000
+++ b/src/msdos.c	Fri Jan 12 19:44:39 1996 +0000
@@ -1260,7 +1260,7 @@
 #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);