summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/fe-gtk/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index f6acd5d6..cec06b25 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -2131,7 +2131,8 @@ 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)))
+
+	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);
 	}