changeset 93522:38ab23c0b8ad

(try_window_id): Don't forget to reset delta_bytes.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 01 Apr 2008 21:27:07 +0000
parents 7587f0dc0aa9
children aa0e26f1d3ae
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Apr 01 17:34:20 2008 +0000
+++ b/src/ChangeLog	Tue Apr 01 21:27:07 2008 +0000
@@ -1,5 +1,7 @@
 2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* xdisp.c (try_window_id): Don't forget to reset delta_bytes.
+
 	* casefiddle.c (casify_object): Fix up int/EMACS_INT mixup.
 
 	* charset.c (Funibyte_charset, Fset_unibyte_charset): Remove.
--- a/src/xdisp.c	Tue Apr 01 17:34:20 2008 +0000
+++ b/src/xdisp.c	Tue Apr 01 21:27:07 2008 +0000
@@ -15009,7 +15009,8 @@
     }
   else
     {
-      delta = dvpos = dy = run.current_y = run.desired_y = run.height = 0;
+      delta = delta_bytes = dvpos = dy
+	= run.current_y = run.desired_y = run.height = 0;
       first_unchanged_at_end_row = NULL;
     }
   IF_DEBUG (debug_dvpos = dvpos; debug_dy = dy);