change var = time(NULL) to time(&var)

This commit is contained in:
Andrzej Rybczak
2009-02-18 20:12:40 +01:00
parent f162a7b880
commit b210d3f270
2 changed files with 18 additions and 18 deletions

View File

@@ -487,7 +487,7 @@ void ShowMessage(const char *format, ...)
{
if (messages_allowed)
{
time_of_statusbar_lock = time(NULL);
time(&time_of_statusbar_lock);
lock_statusbar_delay = Config.message_delay_time;
if (Config.statusbar_visibility)
block_statusbar_update = 1;