Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
3168:423e5387091f | 3169:5bfedec8927e |
---|---|
483 | 483 |
484 /* #### BILL!!! Try to make this go away eventually */ | 484 /* #### BILL!!! Try to make this go away eventually */ |
485 /* X Specific stuff */ | 485 /* X Specific stuff */ |
486 #include <X11/Xatom.h> | 486 #include <X11/Xatom.h> |
487 | 487 |
488 /* Unbounded, for sufficiently small values of infinity... */ | 488 #define MAX_FONT_COUNT INT_MAX |
489 #define MAX_FONT_COUNT 5000 | |
490 | 489 |
491 #ifdef MULE | 490 #ifdef MULE |
492 /* find a font spec that matches font spec FONT and also matches | 491 /* find a font spec that matches font spec FONT and also matches |
493 (the registry of) CHARSET. */ | 492 (the registry of) CHARSET. */ |
494 static Lisp_Object | 493 static Lisp_Object |
534 return font; | 533 return font; |
535 | 534 |
536 return result; | 535 return result; |
537 } | 536 } |
538 #endif /* MULE */ | 537 #endif /* MULE */ |
539 | |
540 /* Unbounded, for sufficiently small values of infinity... */ | |
541 #define MAX_FONT_COUNT 5000 | |
542 | 538 |
543 static int | 539 static int |
544 valid_font_name_p (Display *dpy, char *name) | 540 valid_font_name_p (Display *dpy, char *name) |
545 { | 541 { |
546 /* Maybe this should be implemented by callign XLoadFont and trapping | 542 /* Maybe this should be implemented by callign XLoadFont and trapping |