mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-16 19:08:07 +02:00
cpp-conditionalize a too long string > 64k, because it is always false on 16bit system.
This commit is contained in:
parent
67219481a8
commit
ebaa282874
1 changed files with 2 additions and 0 deletions
|
|
@ -60,9 +60,11 @@
|
|||
FT_Int n;
|
||||
|
||||
|
||||
#if FT_UINT_MAX > 0xFFFFU
|
||||
/* PS string/name length must be < 16-bit */
|
||||
if ( len > 0xFFFFU )
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
for ( n = 0; n < type1->num_glyphs; n++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue