ply-throbber: fully stop the throbber ply_throbber_start () is called after the throbber is stopped with an end animation

This commit is contained in:
nerdopolis 2023-12-03 21:14:35 -05:00 committed by Ray Strode
parent f51aea2ad1
commit 78cdadc260

View file

@ -305,7 +305,9 @@ ply_throbber_start (ply_throbber_t *throbber,
long y)
{
assert (throbber != NULL);
assert (throbber->loop == NULL);
if (!throbber->is_stopped)
ply_throbber_stop_now (throbber, false);
throbber->loop = loop;
throbber->display = display;