Mercurial > hg > xemacs-beta
diff src/objects-gtk.c @ 3169:5bfedec8927e
[xemacs-hg @ 2005-12-24 17:33:31 by aidan]
Move the XListFonts maxnames param to INT_MAX from 5000
author | aidan |
---|---|
date | Sat, 24 Dec 2005 17:33:34 +0000 |
parents | 491f8cf78a9c |
children | 98af8a976fc3 |
line wrap: on
line diff
--- a/src/objects-gtk.c Fri Dec 23 22:51:11 2005 +0000 +++ b/src/objects-gtk.c Sat Dec 24 17:33:34 2005 +0000 @@ -485,8 +485,7 @@ /* X Specific stuff */ #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 @@ -537,9 +536,6 @@ } #endif /* MULE */ -/* Unbounded, for sufficiently small values of infinity... */ -#define MAX_FONT_COUNT 5000 - static int valid_font_name_p (Display *dpy, char *name) {