mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-14 07:35:12 +01:00
Always rearm the timer, evven if we have a message
This commit is contained in:
parent
619fcc1be5
commit
192bd8c7a7
@ -44,12 +44,10 @@ void StatusBar::timeoutCallback()
|
|||||||
text[1] = NULL;
|
text[1] = NULL;
|
||||||
|
|
||||||
if (this->cur_message)
|
if (this->cur_message)
|
||||||
{
|
|
||||||
Gui::gui->timerController->arm(this, 2000);
|
|
||||||
this->setText(text);
|
this->setText(text);
|
||||||
}
|
|
||||||
else
|
else
|
||||||
this->setText(NULL);
|
this->setText(NULL);
|
||||||
|
Gui::gui->timerController->arm(this, 2000);
|
||||||
free((void *)this->cur_message);
|
free((void *)this->cur_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user