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