mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 11:12:19 -05:00
cosmetics
This commit is contained in:
parent
0ac0510be0
commit
a27d2e4d0b
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user