diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-05 01:50:23 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-05 09:27:04 +0200 |
commit | 6fb0f6f4c6c5e17b9485fc666823feede35723b9 (patch) | |
tree | 2330c32238bf13fe89a3b25cf76f9abbbf433e51 /src/custom.c | |
parent | c4c7c8af5d4180905f1b1401a259ec8ce3c5ac75 (diff) | |
download | calcurse-6fb0f6f4c6c5e17b9485fc666823feede35723b9.zip |
Compare pointers to "NULL" instead of "0".
"bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/custom.c')
-rw-r--r-- | src/custom.c | 2 |
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); |