]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_mode_spec): Fix handling of `%t'.
authorRichard M. Stallman <rms@gnu.org>
Fri, 29 Apr 1994 19:38:03 +0000 (19:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 29 Apr 1994 19:38:03 +0000 (19:38 +0000)
src/xdisp.c

index 108d2fe047c8d2925792d2743f3a5687337cd84e..2c6ace5032cdcb79616f12938b37c911596895d4 100644 (file)
@@ -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 */