From 437dfb9f777e4cacf79985b9fa7858767da4b4c1 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 13 Jan 2002 00:36:34 +0000 Subject: [PATCH] (x_load_font): Never set fonts_changed_p to zero. --- src/ChangeLog | 4 ++++ src/xterm.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c88bdc116b4..69000f91041 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-01-13 Andreas Schwab + + * xterm.c (x_load_font): Never set fonts_changed_p to zero. + 2002-01-12 Andreas Schwab * .gdbinit (xbuffer): Remove address operator since data is now a diff --git a/src/xterm.c b/src/xterm.c index 1ab3bf3292e..503b67bcdf3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14173,10 +14173,10 @@ x_load_font (f, fontname, size) /* Set global flag fonts_changed_p to non-zero if the font loaded has a character with a smaller width than any other character - before, or if the font loaded has a smalle>r height than any + before, or if the font loaded has a smaller height than any other font loaded before. If this happens, it will make a glyph matrix reallocation necessary. */ - fonts_changed_p = x_compute_min_glyph_bounds (f); + fonts_changed_p |= x_compute_min_glyph_bounds (f); UNBLOCK_INPUT; return fontp; } -- 2.39.5