aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7790109de86..d5a867d22b3 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4675,10 +4675,11 @@ display_string (w, vpos, string, length, hpos, truncate,
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))