cosmetics
This commit is contained in:
parent
0ac0510be0
commit
a27d2e4d0b
|
@ -2131,6 +2131,7 @@ setup_apply (struct xchatprefs *pr)
|
|||
|
||||
/* workaround for strftime differences between POSIX and MSVC */
|
||||
time (&rawtime);
|
||||
|
||||
if (!strftime (buffer, sizeof (buffer), prefs.stamp_format, localtime (&rawtime)) || !strftime (buffer, sizeof (buffer), prefs.timestamp_log_format, localtime (&rawtime)))
|
||||
{
|
||||
fe_message (_("Invalid time stamp format! See the strftime MSDN article for details."), FE_MSG_ERROR);
|
||||
|
|
Loading…
Reference in New Issue