diff options
Diffstat (limited to 'src/common/showmsg.c')
-rw-r--r-- | src/common/showmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 03dcb7e8a..594234b8d 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -52,7 +52,7 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap) return 1;
}
- if (strlen(timestamp_format) > 0)
+ if (timestamp_format[0])
{ //Display time format. [Skotlex]
time_t t = time(NULL);
strftime(prefix, 80, timestamp_format, localtime(&t));
|