From: Andreas Schwab Date: Sun, 13 Jan 2002 00:36:34 +0000 (+0000) Subject: (x_load_font): Never set fonts_changed_p to zero. X-Git-Tag: ttn-vms-21-2-B4~17193 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=437dfb9f777e4cacf79985b9fa7858767da4b4c1;p=emacs.git (x_load_font): Never set fonts_changed_p to zero. --- 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; }