freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] Cosmetic zeros.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] Cosmetic zeros.
Date: Sat, 04 Sep 2021 02:13:51 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • src/base/ftglyph.c
    ... ... @@ -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
     
    

  • src/base/ftstream.c
    ... ... @@ -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",
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]