diff --git a/src/global.c b/src/global.c
index 851949f0753e2fb055738ee58432a182d11194d5..f8bff1ec8171ec529d13faf2654d0d4be958ca22 100644
--- a/src/global.c
+++ b/src/global.c
@@ -678,11 +678,11 @@ void shortcut_init(bool unjustify)
 	NANO_NO_KEY, NANO_NO_KEY, VIEW, do_wordlinechar_count);
 #endif
 
-    sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg,
+    sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg
 #ifndef NANO_TINY
-	IFHELP(nano_wordcount_msg, TRUE)
+	, IFHELP(nano_wordcount_msg, TRUE)
 #else
-	IFHELP(nano_wordcount_msg, FALSE)
+	, IFHELP(nano_wordcount_msg, FALSE)
 #endif
 	, NANO_NO_KEY, NANO_NO_KEY, NANO_NO_KEY, VIEW, total_refresh);