aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-04-29 19:38:03 +0000
committerRichard M. Stallman <[email protected]>1994-04-29 19:38:03 +0000
commit6b4b52676aff20778d67beb374732be792929d85 (patch)
tree95f3b2be067180c379554a29e7884bb0d6f0b692 /src/xdisp.c
parentd1a880cd30020a8f2b310c09bee51baed9eda985 (diff)
(decode_mode_spec): Fix handling of `%t'.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 108d2fe047..2c6ace5032 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2947,10 +2947,7 @@ decode_mode_spec (w, c, maxwidth)
case 't': /* indicate TEXT or BINARY */
#ifdef MSDOS
- decode_mode_spec_buf[0]
- = NILP (current_buffer->buffer_file_type) ? "T" : "B";
- decode_mode_spec_buf[1] = 0;
- return decode_mode_spec_buf;
+ return NILP (current_buffer->buffer_file_type) ? "T" : "B";
#else /* not MSDOS */
return "T";
#endif /* not MSDOS */