Mercurial > emacs
diff src/dispnew.c @ 89547:73bdeb6f6968
(adjust_frame_glyphs_for_frame_redisplay)
(adjust_frame_glyphs_for_window_redisplay): Remove unused ch_dim.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 29 Sep 2003 18:01:37 +0000 |
parents | 2f877ed80fa6 |
children | 68c22ea6027c |
line wrap: on
line diff
--- a/src/dispnew.c Mon Sep 29 18:00:28 2003 +0000 +++ b/src/dispnew.c Mon Sep 29 18:01:37 2003 +0000 @@ -2252,7 +2252,6 @@ adjust_frame_glyphs_for_frame_redisplay (f) struct frame *f; { - struct dim ch_dim; struct dim matrix_dim; int pool_changed_p; int window_change_flags; @@ -2261,10 +2260,6 @@ if (!FRAME_LIVE_P (f)) return; - /* Determine the smallest character in any font for F. On - console windows, all characters have dimension (1, 1). */ - ch_dim.width = ch_dim.height = 1; - top_window_y = FRAME_TOP_MARGIN (f); /* Allocate glyph pool structures if not already done. */ @@ -2353,19 +2348,10 @@ adjust_frame_glyphs_for_window_redisplay (f) struct frame *f; { - struct dim ch_dim; struct window *w; xassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f)); - /* Get minimum sizes. */ -#ifdef HAVE_WINDOW_SYSTEM - ch_dim.width = FRAME_SMALLEST_CHAR_WIDTH (f); - ch_dim.height = FRAME_SMALLEST_FONT_HEIGHT (f); -#else - ch_dim.width = ch_dim.height = 1; -#endif - /* Allocate/reallocate window matrices. */ allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f)));