changeset 29697:f24d81dfa064

* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 16 Jun 2000 16:00:52 +0000
parents a5051216d618
children 9ad6e18de5f7
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file src/ChangeLog has changed
--- a/src/xdisp.c	Fri Jun 16 15:47:45 2000 +0000
+++ b/src/xdisp.c	Fri Jun 16 16:00:52 2000 +0000
@@ -12385,7 +12385,8 @@
 	  while (pad-- > 0)
 	    *p++ = ' ';
 	  *p++ = '?';
-	  *p = '?';
+	  *p++ = '?';
+	  *p = '\0';
 	  return decode_mode_spec_buf;
 	}
       }