summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/dispnew.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 086d795341c..8becf2b580e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-30 Juanma Barranquero <lekktu@gmail.com>
+
+ * dispnew.c (adjust_glyph_matrix) [XASSERTS]: Add missing check.
+
2011-11-30 Eli Zaretskii <eliz@gnu.org>
* dispnew.c (adjust_glyph_matrix) [XASSERTS]: Ensure ROW's
diff --git a/src/dispnew.c b/src/dispnew.c
index 7e591aa8e8f..d2f33f0b5e4 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -610,7 +610,7 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y
}
#if XASSERTS
if (row->enabled_p && !row->mode_line_p)
- verify_row_hash (row));
+ xassert (verify_row_hash (row));
#endif
++row;
}