diff 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
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))