1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 20:52:16 -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,7 +2131,8 @@ setup_apply (struct xchatprefs *pr)
/* workaround for strftime differences between POSIX and MSVC */ /* workaround for strftime differences between POSIX and MSVC */
time (&rawtime); time (&rawtime);
if(!strftime (buffer, sizeof (buffer), prefs.stamp_format, localtime (&rawtime)) || !strftime (buffer, sizeof (buffer), prefs.timestamp_log_format, localtime (&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); fe_message (_("Invalid time stamp format! See the strftime MSDN article for details."), FE_MSG_ERROR);
} }