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

wl/meson-logging
Alexei Podtelezhnikov 4 years ago
parent deee5b7017
commit b0a281974d
  1. 4
      ChangeLog
  2. 2
      src/winfonts/winfnt.c

@ -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.

@ -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;

Loading…
Cancel
Save