* src/raster/ftraster.c (Increment): Minor tweak.

This commit is contained in:
Alexei Podtelezhnikov 2023-11-13 22:07:42 -05:00
parent e9359e29be
commit 6e7ef1687f
1 changed files with 5 additions and 9 deletions

View File

@ -1978,17 +1978,14 @@
if ( !current )
return;
next = current->link;
while ( next )
while ( current->link )
{
next = current->link;
if ( current->X <= next->X )
{
old = &current->link;
current = *old;
if ( !current )
return;
current = next;
}
else
{
@ -1996,11 +1993,10 @@
current->link = next->link;
next->link = current;
/* Restarting */
old = list;
current = *old;
}
next = current->link;
}
}