From a79af8ea92fdbe4cd3a5a75c4f3132b7268c35fa Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 30 Mar 2004 14:23:16 +0000 Subject: 36. Conversion: __AMD64__ > __amd64__ (Egbert Eich). 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). --- difs/fonts.c | 7 +++++-- 1 file 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 @@ -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 -- cgit v1.2.3