* src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro.

This commit is contained in:
Alexei Podtelezhnikov 2021-04-26 17:10:28 -04:00
parent deee5b7017
commit b0a281974d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro.
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
[psaux,psnames] Avoid some memory zeroing.

View File

@ -793,7 +793,7 @@
root->style_flags |= FT_STYLE_FLAG_BOLD;
/* set up the `fixed_sizes' array */
if ( FT_NEW_ARRAY( root->available_sizes, 1 ) )
if ( FT_QNEW( root->available_sizes ) )
goto Fail;
root->num_fixed_sizes = 1;