diff --git a/ChangeLog b/ChangeLog
index 99b21c9826806b8ba2b4c9a4505c15256816779b..9b09d09bc200b71bc2363a6f0c2c39cd00a7c254 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2014-03-26  Benno Schulenberg  <bensberg@justemail.net>
 	* configure.ac - Word, tab, and comment tweaks.
 	* src/global.c - Some comment tweaks, and whitespace trimmings.
+	* src/global.c (print_sclist) - Also print last shortcut in list.
 
 2014-03-26  Mike Frysinger  <vapier@gentoo.org>.
 	* configure.ac - Clean up most of the --with/--enable flags:
diff --git a/src/global.c b/src/global.c
index 9faf47dfd00e0772aa4c41abd676ce3836cc330b..ecb9414640f00eabaa58121d8240708c54d152de 100644
--- a/src/global.c
+++ b/src/global.c
@@ -484,9 +484,9 @@ void print_sclist(void)
     sc *s;
     const subnfunc *f;
 
-    for (s = sclist; s->next != NULL; s = s->next) {
+    for (s = sclist; s != NULL; s = s->next) {
 	f = sctofunc(s);
-        if (f)
+	if (f)
 	    fprintf(stderr, "Shortcut \"%s\", function: %s, menus %x\n", s->keystr, f->desc, f->menus);
 	else
 	    fprintf(stderr, "Hmm, didnt find a func for \"%s\"\n", s->keystr);