Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
aee1fd3b
by Alexei Podtelezhnikov at 2021-09-03T22:13:22-04:00
2 changed files:
Changes:
... | ... | @@ -585,7 +585,7 @@ |
585 | 585 |
#if 1
|
586 | 586 |
/* if `origin' is set, translate the glyph image */
|
587 | 587 |
if ( origin )
|
588 |
- FT_Glyph_Transform( glyph, 0, origin );
|
|
588 |
+ FT_Glyph_Transform( glyph, NULL, origin );
|
|
589 | 589 |
#else
|
590 | 590 |
FT_UNUSED( origin );
|
591 | 591 |
#endif
|
... | ... | @@ -603,7 +603,7 @@ |
603 | 603 |
|
604 | 604 |
v.x = -origin->x;
|
605 | 605 |
v.y = -origin->y;
|
606 |
- FT_Glyph_Transform( glyph, 0, &v );
|
|
606 |
+ FT_Glyph_Transform( glyph, NULL, &v );
|
|
607 | 607 |
}
|
608 | 608 |
#endif
|
609 | 609 |
|
... | ... | @@ -61,7 +61,7 @@ |
61 | 61 |
|
62 | 62 |
if ( stream->read )
|
63 | 63 |
{
|
64 |
- if ( stream->read( stream, pos, 0, 0 ) )
|
|
64 |
+ if ( stream->read( stream, pos, NULL, 0 ) )
|
|
65 | 65 |
{
|
66 | 66 |
FT_ERROR(( "FT_Stream_Seek:"
|
67 | 67 |
" invalid i/o; pos = 0x%lx, size = 0x%lx\n",
|