diff options
author | marha <marha@users.sourceforge.net> | 2011-09-05 10:19:03 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-05 10:19:03 +0200 |
commit | 9441c8f47bb24faebc885bfc3c5e37f47a3ad984 (patch) | |
tree | 276b55ded8f63c6bc5041785785ba927f168e077 /libXfont/src/bitmap/bitscale.c | |
parent | c7b24c70d1e2d558d512665ffa5479e64b36692d (diff) | |
parent | 6eaea4464631b5d8c1f44a46016163e351028afc (diff) | |
download | vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.tar.gz vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.tar.bz2 vcxsrv-9441c8f47bb24faebc885bfc3c5e37f47a3ad984.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
libXfont/configure.ac
libXfont/doc/fontlib.xml
libXfont/src/bitmap/bitscale.c
libXfont/src/fontfile/decompress.c
Diffstat (limited to 'libXfont/src/bitmap/bitscale.c')
-rw-r--r-- | libXfont/src/bitmap/bitscale.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libXfont/src/bitmap/bitscale.c b/libXfont/src/bitmap/bitscale.c index cf22a4593..a80f375a0 100644 --- a/libXfont/src/bitmap/bitscale.c +++ b/libXfont/src/bitmap/bitscale.c @@ -1624,19 +1624,16 @@ BitmapOpenScalable (FontPathElementPtr fpe, if (!sourceFont->refcnt)
FontFileCloseFont((FontPathElementPtr) 0, sourceFont);
+ font->info.props = props;
+ font->info.nprops = propCount;
+ font->info.isStringProp = isStringProp;
+
if (propCount && (!props || !isStringProp))
{
- font->info.nprops = 0;
- font->info.props = (FontPropPtr)0;
- font->info.isStringProp = (char *)0;
bitmapUnloadScalable(font);
return AllocError;
}
- font->info.props = props;
- font->info.nprops = propCount;
- font->info.isStringProp = isStringProp;
-
*pFont = font;
return Successful;
}
|