diff src/xdisp.c @ 19789:a5c3942ea72b

(display_string): Determine multibyte from current buffer, not from W's buffer.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Sep 1997 04:22:29 +0000
parents 18d979b08faf
children 0ee6d171e8af
line wrap: on
line diff
--- a/src/xdisp.c	Sun Sep 07 04:08:18 1997 +0000
+++ b/src/xdisp.c	Sun Sep 07 04:22:29 1997 +0000
@@ -4722,7 +4722,7 @@
   GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos;
   int window_width = XFASTINT (w->width);
   /* If 1, we must display multibyte characters.  */
-  int multibyte = !NILP (XBUFFER (w->buffer)->enable_multibyte_characters);
+  int multibyte = !NILP (current_buffer->enable_multibyte_characters);
 
   /* Use the standard display table, not the window's display table.
      We don't want the mode line in rot13.  */