summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdisp.c')
-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. */