From c87d0294a0319c1ae3beb5e226bfbf8bbecb1593 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 12 Jan 1996 19:44:39 +0000 Subject: [PATCH] (dos_rawgetc): Make buf longer. --- src/msdos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2