Cosmetic zeros.

This commit is contained in:
Alexei Podtelezhnikov 2021-09-03 22:13:22 -04:00
parent 7bf655b228
commit aee1fd3bb8
2 changed files with 3 additions and 3 deletions

View File

@ -585,7 +585,7 @@
#if 1
/* if `origin' is set, translate the glyph image */
if ( origin )
FT_Glyph_Transform( glyph, 0, origin );
FT_Glyph_Transform( glyph, NULL, origin );
#else
FT_UNUSED( origin );
#endif
@ -603,7 +603,7 @@
v.x = -origin->x;
v.y = -origin->y;
FT_Glyph_Transform( glyph, 0, &v );
FT_Glyph_Transform( glyph, NULL, &v );
}
#endif

View File

@ -61,7 +61,7 @@
if ( stream->read )
{
if ( stream->read( stream, pos, 0, 0 ) )
if ( stream->read( stream, pos, NULL, 0 ) )
{
FT_ERROR(( "FT_Stream_Seek:"
" invalid i/o; pos = 0x%lx, size = 0x%lx\n",