wrong anigif del svn diff | less
This commit is contained in:
parent
07a06ca731
commit
30c3d41433
|
@ -348,12 +348,12 @@ static anigif_t anigif_add(anigif_t g)
|
|||
|
||||
static anigif_t anigif_del(anigif_t g)
|
||||
{
|
||||
if (g->prev == NULL) {
|
||||
if (g->prev == NULL)
|
||||
anim_gifs = g->next;
|
||||
}
|
||||
if (g->next) {
|
||||
else
|
||||
g->prev->next = g->next;
|
||||
if (g->next)
|
||||
g->next->prev = g->prev;
|
||||
}
|
||||
return g;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue