cosmetics

This commit is contained in:
Berke Viktor 2012-02-16 17:23:08 +01:00
parent 0ac0510be0
commit a27d2e4d0b
1 changed files with 2 additions and 1 deletions

View File

@ -2131,6 +2131,7 @@ 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);