summaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys.c')
-rw-r--r--src/keys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keys.c b/src/keys.c
index 792a8ad..916d4e8 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -145,7 +145,7 @@ keys_free (void)
for (key = 0; key < NBKEYS; key++)
{
- if (keys[key] == 0)
+ if (keys[key] == NULL)
continue;
i = &keys[key];
@@ -607,7 +607,7 @@ keys_check_missing_bindings (void)
for (i = 0; i < NBKEYS; i++)
{
- if (keys[i] == 0)
+ if (keys[i] == NULL)
return 1;
}
return 0;
@@ -620,7 +620,7 @@ keys_fill_missing (void)
for (i = 0; i < NBKEYS; i++)
{
- if (keys[i] == 0)
+ if (keys[i] == NULL)
{
char *p, tmpbuf[BUFSIZ];