]> git.eshelyaron.com Git - emacs.git/commitdiff
(adjust_glyph_matrix): Initialize window_height.
authorJason Rumney <jasonr@gnu.org>
Wed, 5 Mar 2008 00:51:12 +0000 (00:51 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 5 Mar 2008 00:51:12 +0000 (00:51 +0000)
src/ChangeLog
src/dispnew.c

index c6b17b1cb2025a4eb7290df208493a483ca7b9f8..6c428b0d80300ce744c32da92916bfa6b75d607d 100644 (file)
@@ -1,5 +1,7 @@
 2008-03-05  Jason Rumney  <jasonr@gnu.org>
 
+       * dispnew.c (adjust_glyph_matrix): Initialize window_height.
+
        * fileio.c (Fexpand_file_name): Decode home directory names.
        (Fsubstitute_in_file_name): Decode substituted variables.
 
index 36010b44a31192aaa583c80ca178520c0979213f..f2a0627c3b01d2c5b0b73395f046ec705e81d3bc 100644 (file)
@@ -646,7 +646,7 @@ adjust_glyph_matrix (w, matrix, x, y, dim)
   int header_line_changed_p = 0;
   int header_line_p = 0;
   int left = -1, right = -1;
-  int window_width = -1, window_height;
+  int window_width = -1, window_height = -1;
 
   /* See if W had a header line that has disappeared now, or vice versa.
      Get W's size.  */