summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-03-05 00:51:12 +0000
committerJason Rumney <jasonr@gnu.org>2008-03-05 00:51:12 +0000
commitca8a12a7e6f5694f40272c641cb34d5051318d99 (patch)
tree2e5b683cc07bbec626ee6614061d029e43a030ec
parent4e5a6f83a89701b3868a37ded7882d62398120d8 (diff)
downloademacs-ca8a12a7e6f5694f40272c641cb34d5051318d99.tar.gz
(adjust_glyph_matrix): Initialize window_height.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/dispnew.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c6b17b1cb20..6c428b0d803 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/dispnew.c b/src/dispnew.c
index 36010b44a31..f2a0627c3b0 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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. */