(x_load_font): Never set fonts_changed_p to zero.
authorAndreas Schwab <schwab@suse.de>
Sun, 13 Jan 2002 00:36:34 +0000 (00:36 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 13 Jan 2002 00:36:34 +0000 (00:36 +0000)
src/ChangeLog
src/xterm.c

index c88bdc1..69000f9 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-13  Andreas Schwab  <schwab@suse.de>
+
+       * xterm.c (x_load_font): Never set fonts_changed_p to zero.
+
 2002-01-12  Andreas Schwab  <schwab@suse.de>
 
        * .gdbinit (xbuffer): Remove address operator since data is now a
index 1ab3bf3..503b67b 100644 (file)
@@ -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;
   }