summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-09-07 04:22:29 +0000
committerRichard M. Stallman <rms@gnu.org>1997-09-07 04:22:29 +0000
commit50b37e9cecc462c114cf843027af7b309686504c (patch)
tree245db19b2fb707df34e82f1d45bfb5837a296f95 /src
parent15f3e0377df19bc3969c7e57bb739a37c449daba (diff)
downloademacs-50b37e9cecc462c114cf843027af7b309686504c.tar.gz
(display_string): Determine multibyte from current buffer,
not from W's buffer.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 40642ecb16c..3c3e526ead5 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4722,7 +4722,7 @@ display_string (w, vpos, string, length, hpos, truncate,
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. */