freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * src/pshinter/pshrec.c (ps_mask_table_


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * src/pshinter/pshrec.c (ps_mask_table_merge_all): Tweak loops.
Date: Tue, 14 Sep 2021 14:30:24 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • src/pshinter/pshrec.c
    ... ... @@ -503,9 +503,8 @@
    503 503
         FT_Error  error = FT_Err_Ok;
    
    504 504
     
    
    505 505
     
    
    506
    -    /* the inner loop stops when the unsigned index wraps around */
    
    507
    -    /* after reaching 0.                                         */
    
    508
    -    for ( index1 = table->num_masks - 1; index1 > 0; index1-- )
    
    506
    +    /* the loops stop when unsigned indices wrap around after 0 */
    
    507
    +    for ( index1 = table->num_masks - 1; index1 < table->num_masks; index1-- )
    
    509 508
         {
    
    510 509
           for ( index2 = index1 - 1; index2 < index1; index2-- )
    
    511 510
           {
    


  • reply via email to

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