comparison 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
comparison
equal deleted inserted replaced
19788:f774a63eb5a6 19789:a5c3942ea72b
4720 FRAME_PTR f = XFRAME (WINDOW_FRAME (w)); 4720 FRAME_PTR f = XFRAME (WINDOW_FRAME (w));
4721 struct frame_glyphs *desired_glyphs = FRAME_DESIRED_GLYPHS (f); 4721 struct frame_glyphs *desired_glyphs = FRAME_DESIRED_GLYPHS (f);
4722 GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos; 4722 GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos;
4723 int window_width = XFASTINT (w->width); 4723 int window_width = XFASTINT (w->width);
4724 /* If 1, we must display multibyte characters. */ 4724 /* If 1, we must display multibyte characters. */
4725 int multibyte = !NILP (XBUFFER (w->buffer)->enable_multibyte_characters); 4725 int multibyte = !NILP (current_buffer->enable_multibyte_characters);
4726 4726
4727 /* Use the standard display table, not the window's display table. 4727 /* Use the standard display table, not the window's display table.
4728 We don't want the mode line in rot13. */ 4728 We don't want the mode line in rot13. */
4729 register struct Lisp_Char_Table *dp = 0; 4729 register struct Lisp_Char_Table *dp = 0;
4730 int i; 4730 int i;