Sync up with r21-4-19.
[chise/xemacs-chise.git.1] / src / objects-gtk.c
index 72fde7c..64bd305 100644 (file)
@@ -481,7 +481,7 @@ vars_of_objects_gtk (void)
 #include <X11/Xatom.h>
 
 /* Unbounded, for sufficiently small values of infinity... */
-#define MAX_FONT_COUNT 5000
+#define MAX_FONT_COUNT INT_MAX
 
 #ifdef MULE
 /* find a font spec that matches font spec FONT and also matches
@@ -529,7 +529,7 @@ gtk_find_charset_font (Lisp_Object device, Lisp_Object font, Lisp_Object charset
 #endif /* MULE */
 
 /* Unbounded, for sufficiently small values of infinity... */
-#define MAX_FONT_COUNT 5000
+#define MAX_FONT_COUNT INT_MAX
 
 static int
 valid_font_name_p (Display *dpy, char *name)