summaryrefslogtreecommitdiffstats
path: root/src/custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/custom.c')
-rw-r--r--src/custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custom.c b/src/custom.c
index 29a6261..e8cf0fe 100644
--- a/src/custom.c
+++ b/src/custom.c
@@ -1243,7 +1243,7 @@ print_keys_bindings (WINDOW *win, int selected_row, int selected_elm, int yoff)
int pos;
pos = KEYPOS;
- while ((key = keys_action_nkey (action, noelm)) != 0)
+ while ((key = keys_action_nkey (action, noelm)) != NULL)
{
if (noelm == selected_elm)
print_key_incolor (win, key, y, pos);