do not show messages if statusbar unlock is not allowed

This commit is contained in:
Andrzej Rybczak
2009-08-02 09:44:24 +02:00
parent a77bd03e53
commit 837560c536

View File

@@ -538,7 +538,7 @@ Window &Statusbar()
void ShowMessage(const char *format, ...)
{
if (MessagesAllowed)
if (MessagesAllowed && allow_statusbar_unlock)
{
time(&time_of_statusbar_lock);
lock_statusbar_delay = Config.message_delay_time;