aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
-rw-r--r--src/frame.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index fe07f793cb5..b05356a3b64 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -681,7 +681,7 @@ void
681clear_glyph_matrix_rows (struct glyph_matrix *matrix, int start, int end) 681clear_glyph_matrix_rows (struct glyph_matrix *matrix, int start, int end)
682{ 682{
683 eassert (start <= end); 683 eassert (start <= end);
684 eassert (start >= 0 && start < matrix->nrows); 684 eassert (start >= 0 && start <= matrix->nrows);
685 eassert (end >= 0 && end <= matrix->nrows); 685 eassert (end >= 0 && end <= matrix->nrows);
686 686
687 for (; start < end; ++start) 687 for (; start < end; ++start)
diff --git a/src/frame.c b/src/frame.c
index df473aebc21..fd9f3ce0203 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -865,6 +865,9 @@ make_initial_frame (void)
865 /* The default value of menu-bar-mode is t. */ 865 /* The default value of menu-bar-mode is t. */
866 set_menu_bar_lines (f, make_number (1), Qnil); 866 set_menu_bar_lines (f, make_number (1), Qnil);
867 867
868 /* Allocate glyph matrices. */
869 adjust_frame_glyphs (f);
870
868 if (!noninteractive) 871 if (!noninteractive)
869 init_frame_faces (f); 872 init_frame_faces (f);
870 873