mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05: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;
|
||||
|
||||
if (this->cur_message)
|
||||
{
|
||||
Gui::gui->timerController->arm(this, 2000);
|
||||
this->setText(text);
|
||||
}
|
||||
else
|
||||
this->setText(NULL);
|
||||
Gui::gui->timerController->arm(this, 2000);
|
||||
free((void *)this->cur_message);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user