summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-03-30 14:23:16 +0000
committerEgbert Eich <eich@suse.de>2004-03-30 14:23:16 +0000
commita79af8ea92fdbe4cd3a5a75c4f3132b7268c35fa (patch)
treee34ab98a56e8e062ecdc88b988e3960f4eb7fab5
parent064520002b727dbbaae1f0ec25fa73c40b3362d3 (diff)
36. Conversion: __AMD64__ > __amd64__ (Egbert Eich).XORG-CURRENT-premerge-release-1
35. Fixed stretching option and centering in C&T driver (Egbert Eich). 34. Added support for memory size tweaking in BIOS for i845 (Egbert Eich, thanks to Christian Ziez) 33. Removed video playback dependency on Accel in NSC drivers (Egbert 3Eich). 32. Fix HW cursor state on Savage driver when entering VT as some BIOSes seem to enable it unconditionally (Egbert Eich). 31. Fixed Emulate3Button message to distinguish between 'hard' (ie. configured) and 'soft' (ie. automatic emulation that is disabled as soon as the middle button is pressed) (Egbert Eich). 30. Free XrmDB in XCloseDisplay() only when implicitely allocated by XGetDefaults(). If Client allocates it itself it should free it also. Trying to free it for the client may result in segfault if the client has already freed it (Egbert Eich).
-rw-r--r--difs/fonts.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/difs/fonts.c b/difs/fonts.c
index 6665de4..1b3dcc2 100644
--- a/difs/fonts.c
+++ b/difs/fonts.c
@@ -3,7 +3,7 @@
* font control
*/
/*
-
+
Copyright 1990, 1991, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
@@ -47,7 +47,7 @@ in this Software without prior written authorization from The Open Group.
* THIS SOFTWARE.
*/
/* $XFree86: xc/programs/xfs/difs/fonts.c,v 3.13 2001/12/14 20:01:34 dawes Exp $ */
-
+/*#define DEBUG*/
#include "FS.h"
#include "FSproto.h"
#include <stdio.h>
@@ -441,6 +441,9 @@ OpenFont(
SendErrToClient(client, FSBadName, (pointer) 0);
return FSBadName;
}
+#ifdef DEBUG
+ fprintf(stderr,"OpenFont: %sn",name);
+#endif
/*
** Check name cache. If we find a cached version of this font that
** is cachable, immediately satisfy the request with it. If we find