Always rearm the timer, evven if we have a message

This commit is contained in:
simon.kagstrom 2010-02-26 06:33:00 +00:00
parent 619fcc1be5
commit 192bd8c7a7

View File

@ -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);
}