aboutsummaryrefslogtreecommitdiff
path: root/editors/xemacs-devel-mule/files/patch-objects-gtk.c
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-02-02 13:28:42 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-02-02 13:28:42 +0000
commit9581a84d10aec7b7454e0f95fa53956e44fed19d (patch)
treec36f6282492d0e84a4d6b8cc0d8822e5772ff3cd /editors/xemacs-devel-mule/files/patch-objects-gtk.c
parentef8b205c127a986874e9bdfc37a147a336f9678a (diff)
downloadports-9581a84d10aec7b7454e0f95fa53956e44fed19d.tar.gz
ports-9581a84d10aec7b7454e0f95fa53956e44fed19d.zip
Notes
Diffstat (limited to 'editors/xemacs-devel-mule/files/patch-objects-gtk.c')
-rw-r--r--editors/xemacs-devel-mule/files/patch-objects-gtk.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/editors/xemacs-devel-mule/files/patch-objects-gtk.c b/editors/xemacs-devel-mule/files/patch-objects-gtk.c
new file mode 100644
index 000000000000..ed9b96938bc4
--- /dev/null
+++ b/editors/xemacs-devel-mule/files/patch-objects-gtk.c
@@ -0,0 +1,28 @@
+Index: src/objects-gtk.c
+===================================================================
+RCS file: /pack/xemacscvs/XEmacs/xemacs/src/objects-gtk.c,v
+retrieving revision 1.16
+retrieving revision 1.17
+diff -u -r1.16 -r1.17
+--- src/objects-gtk.c 2005/01/28 02:58:51 1.16
++++ src/objects-gtk.c 2005/12/24 17:33:34 1.17
+@@ -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
+@@ -536,9 +535,6 @@
+ return result;
+ }
+ #endif /* MULE */
+-
+-/* Unbounded, for sufficiently small values of infinity... */
+-#define MAX_FONT_COUNT 5000
+
+ static int
+ valid_font_name_p (Display *dpy, char *name)