* src/raster/ftraster.c (Increment): Minor tweak.
This commit is contained in:
parent
e9359e29be
commit
6e7ef1687f
|
@ -1978,17 +1978,14 @@
|
||||||
if ( !current )
|
if ( !current )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
next = current->link;
|
while ( current->link )
|
||||||
|
|
||||||
while ( next )
|
|
||||||
{
|
{
|
||||||
|
next = current->link;
|
||||||
|
|
||||||
if ( current->X <= next->X )
|
if ( current->X <= next->X )
|
||||||
{
|
{
|
||||||
old = ¤t->link;
|
old = ¤t->link;
|
||||||
current = *old;
|
current = next;
|
||||||
|
|
||||||
if ( !current )
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1996,11 +1993,10 @@
|
||||||
current->link = next->link;
|
current->link = next->link;
|
||||||
next->link = current;
|
next->link = current;
|
||||||
|
|
||||||
|
/* Restarting */
|
||||||
old = list;
|
old = list;
|
||||||
current = *old;
|
current = *old;
|
||||||
}
|
}
|
||||||
|
|
||||||
next = current->link;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue