summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/src/type1/t1load.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/type1/t1load.c')
-rw-r--r--Build/source/libs/freetype2/freetype-src/src/type1/t1load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/type1/t1load.c b/Build/source/libs/freetype2/freetype-src/src/type1/t1load.c
index 6f54e7d3f90..bb62c79902a 100644
--- a/Build/source/libs/freetype2/freetype-src/src/type1/t1load.c
+++ b/Build/source/libs/freetype2/freetype-src/src/type1/t1load.c
@@ -4,7 +4,7 @@
*
* Type 1 font loader (body).
*
- * Copyright (C) 1996-2022 by
+ * Copyright (C) 1996-2021 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
@@ -1530,8 +1530,8 @@
/* we use a T1_Table to store our charnames */
loader->num_chars = encode->num_chars = array_size;
- if ( FT_QNEW_ARRAY( encode->char_index, array_size ) ||
- FT_QNEW_ARRAY( encode->char_name, array_size ) ||
+ if ( FT_NEW_ARRAY( encode->char_index, array_size ) ||
+ FT_NEW_ARRAY( encode->char_name, array_size ) ||
FT_SET_ERROR( psaux->ps_table_funcs->init(
char_table, array_size, memory ) ) )
{
@@ -1772,7 +1772,7 @@
if ( !loader->subrs_hash )
{
- if ( FT_QNEW( loader->subrs_hash ) )
+ if ( FT_NEW( loader->subrs_hash ) )
goto Fail;
error = ft_hash_num_init( loader->subrs_hash, memory );