x11-libs/qt: more EAPI="1" forgettingsingsings.
[gentoo-soor-overlay.git] / media-libs / freetype / files / 331-hmtx-no-shorts.diff
bloba25e44eac12787463da8352c16ae655422446d42
1 Index: freetype-2.3.5/src/sfnt/ttmtx.c
2 ===================================================================
3 --- freetype-2.3.5.orig/src/sfnt/ttmtx.c 2007-07-07 01:14:16.000000000 -0700
4 +++ freetype-2.3.5/src/sfnt/ttmtx.c 2007-07-07 01:14:35.000000000 -0700
5 @@ -174,7 +174,7 @@
8 if ( FT_QNEW_ARRAY( *longs, num_longs ) ||
9 - FT_QNEW_ARRAY( *shorts, num_shorts ) )
10 + (num_shorts > 0 && FT_QNEW_ARRAY( *shorts, num_shorts ) ) )
11 goto Fail;
13 if ( FT_FRAME_ENTER( table_len ) )