From 6b4b52676aff20778d67beb374732be792929d85 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 29 Apr 1994 19:38:03 +0000 Subject: [PATCH] (decode_mode_spec): Fix handling of `%t'. --- src/xdisp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 108d2fe047c..2c6ace5032c 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 */ -- 2.39.5