From b0a281974dfe53c46a9028e6e0c6dc90466f0bc8 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Mon, 26 Apr 2021 17:10:28 -0400 Subject: [PATCH] * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. --- ChangeLog | 4 ++++ src/winfonts/winfnt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e93e4c34e..ef22e6a4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-04-26 Alexei Podtelezhnikov + + * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. + 2021-04-26 Alexei Podtelezhnikov [psaux,psnames] Avoid some memory zeroing. diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c index 1d52bb600..d590c0a22 100644 --- a/src/winfonts/winfnt.c +++ b/src/winfonts/winfnt.c @@ -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;