1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

cosmetics

This commit is contained in:
Berke Viktor 2012-02-16 17:23:08 +01:00
parent 0ac0510be0
commit a27d2e4d0b

View File

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