Mercurial > emacs
comparison src/xdisp.c @ 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 | 77f1e8db4147 |
children | 9ad6e18de5f7 |
comparison
equal
deleted
inserted
replaced
29696:a5051216d618 | 29697:f24d81dfa064 |
---|---|
12383 char* p = decode_mode_spec_buf; | 12383 char* p = decode_mode_spec_buf; |
12384 int pad = field_width - 2; | 12384 int pad = field_width - 2; |
12385 while (pad-- > 0) | 12385 while (pad-- > 0) |
12386 *p++ = ' '; | 12386 *p++ = ' '; |
12387 *p++ = '?'; | 12387 *p++ = '?'; |
12388 *p = '?'; | 12388 *p++ = '?'; |
12389 *p = '\0'; | |
12389 return decode_mode_spec_buf; | 12390 return decode_mode_spec_buf; |
12390 } | 12391 } |
12391 } | 12392 } |
12392 break; | 12393 break; |
12393 | 12394 |