changeset 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 f774a63eb5a6
children 5f1711b00ca0
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.  */