changeset 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 bee41cc3fd48
children 4501a367a887
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Jul 18 16:06:57 1997 +0000
+++ b/src/xdisp.c	Fri Jul 18 17:46:56 1997 +0000
@@ -4675,10 +4675,11 @@
   if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
 
   p1 = p1start;
-  start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left);
+  start = desired_glyphs->glyphs[vpos];
 
   if (obey_window_width)
     {
+      start += XFASTINT (w->left);
       end = start + window_width - (truncate != 0);
 
       if (!WINDOW_RIGHTMOST_P (w))