Mercurial > emacs
comparison src/xdisp.c @ 18852:ab7fae992236
(display_string): Ignore W->left if OBEY_WINDOW_WIDTH is zero.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 18 Jul 1997 17:46:56 +0000 |
parents | a4b74a7b692a |
children | 43d28a5c7b68 |
comparison
equal
deleted
inserted
replaced
18851:bee41cc3fd48 | 18852:ab7fae992236 |
---|---|
4673 dp = XCHAR_TABLE (Vstandard_display_table); | 4673 dp = XCHAR_TABLE (Vstandard_display_table); |
4674 | 4674 |
4675 if (tab_width <= 0 || tab_width > 1000) tab_width = 8; | 4675 if (tab_width <= 0 || tab_width > 1000) tab_width = 8; |
4676 | 4676 |
4677 p1 = p1start; | 4677 p1 = p1start; |
4678 start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left); | 4678 start = desired_glyphs->glyphs[vpos]; |
4679 | 4679 |
4680 if (obey_window_width) | 4680 if (obey_window_width) |
4681 { | 4681 { |
4682 start += XFASTINT (w->left); | |
4682 end = start + window_width - (truncate != 0); | 4683 end = start + window_width - (truncate != 0); |
4683 | 4684 |
4684 if (!WINDOW_RIGHTMOST_P (w)) | 4685 if (!WINDOW_RIGHTMOST_P (w)) |
4685 { | 4686 { |
4686 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) | 4687 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) |