Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
0a8ee851
by Alexei Podtelezhnikov at 2021-09-14T10:26:37-04:00
1 changed file:
Changes:
... | ... | @@ -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 |
{
|