diff options
Diffstat (limited to 'Xprint/ps/PsText.c')
-rw-r--r-- | Xprint/ps/PsText.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Xprint/ps/PsText.c b/Xprint/ps/PsText.c index 618d0a163..41ba592f6 100644 --- a/Xprint/ps/PsText.c +++ b/Xprint/ps/PsText.c @@ -73,11 +73,11 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************* ** ********************************************************************/ +/* $XFree86: xc/programs/Xserver/Xprint/ps/PsText.c,v 1.12 2001/12/14 19:59:17 dawes Exp $ */ #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" -#include "fntfil.h" #include "fntfilst.h" #include <sys/stat.h> @@ -85,9 +85,8 @@ static int readFontName(char *fileName, char *file_name, char *dlfnam) { FILE *file; struct stat statb; - int count, i, status; char buf[256]; - char *front, *end, *fn; + char *front, *fn; file = fopen(fileName, "r"); if(file) @@ -389,7 +388,7 @@ PsPolyGlyphBlt( pointer pGlyphBase) { int width, height; - PixmapPtr pPixmap; + PixmapPtr pPixmap = NullPixmap; int nbyLine; /* bytes per line of padded pixmap */ FontPtr pfont; GCPtr pGCtmp; |