diff options
author | marha <marha@users.sourceforge.net> | 2014-09-08 23:42:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-09-08 23:46:56 +0200 |
commit | d0f70707dde032e662dbd5bc70df6ac915403abe (patch) | |
tree | 19a595625f8cdedc3662a8638f65451208103dfd /libXfont/src/util/private.c | |
parent | cb346e228aeb500cd61ec86644c034c238332d3b (diff) | |
download | vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.gz vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.bz2 vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.zip |
Updated to libXfont 1.5.0
Diffstat (limited to 'libXfont/src/util/private.c')
-rw-r--r-- | libXfont/src/util/private.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libXfont/src/util/private.c b/libXfont/src/util/private.c index 36715b1fa..e55e19368 100644 --- a/libXfont/src/util/private.c +++ b/libXfont/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; |