diff options
Diffstat (limited to 'src/util/private.c')
-rw-r--r-- | src/util/private.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/private.c b/src/util/private.c index 36715b1..e55e193 100644 --- a/src/util/private.c +++ b/src/util/private.c @@ -42,7 +42,7 @@ AllocateFontPrivateIndex (void) return _FontPrivateAllocateIndex++; } -FontPtr +FontPtr CreateFontRec (void) { FontPtr pFont; @@ -51,7 +51,7 @@ CreateFontRec (void) size = sizeof(FontRec) + (sizeof(pointer) * _FontPrivateAllocateIndex); pFont = malloc(size); - + if(pFont) { bzero((char*)pFont, size); pFont->maxPrivate = _FontPrivateAllocateIndex - 1; |