diff options
Diffstat (limited to 'xc/lib/font/bitmap/pcfread.c')
-rw-r--r-- | xc/lib/font/bitmap/pcfread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xc/lib/font/bitmap/pcfread.c b/xc/lib/font/bitmap/pcfread.c index 8fbf08945..e7d6a5ca0 100644 --- a/xc/lib/font/bitmap/pcfread.c +++ b/xc/lib/font/bitmap/pcfread.c @@ -23,7 +23,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/font/bitmap/pcfread.c,v 1.14 2001/01/17 19:43:27 dawes Exp $ */ +/* $XFree86: xc/lib/font/bitmap/pcfread.c,v 1.16 2001/04/04 00:34:28 dawes Exp $ */ /* * Author: Keith Packard, MIT X Consortium @@ -863,7 +863,7 @@ pmfReadFont(FontPtr pFont, FontFilePtr file, if (encodingOffset == 0xFFFF) { pFont->info.allExist = FALSE; encoding[i] = 0; - } else + } else { if(!encoding[SEGMENT_MAJOR(i)]) { encoding[SEGMENT_MAJOR(i)]= (CharInfoPtr*)xcalloc(BITMAP_FONT_SEGMENT_SIZE, @@ -872,6 +872,7 @@ pmfReadFont(FontPtr pFont, FontFilePtr file, goto Bail; } ACCESSENCODINGL(encoding, i) = metrics + encodingOffset; + } } if (IS_EOF(file)) goto Bail; |