From: Richard M. Stallman Date: Fri, 29 Apr 1994 19:38:03 +0000 (+0000) Subject: (decode_mode_spec): Fix handling of `%t'. X-Git-Tag: emacs-19.34~8656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b4b52676aff20778d67beb374732be792929d85;p=emacs.git (decode_mode_spec): Fix handling of `%t'. --- 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 */