aboutsummaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2014-04-29 21:56:49 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-29 17:51:09 -0300
commit2e4613aecc712eb5e893d341da5f571f932376d5 (patch)
tree41f6b1c751181319d88cc0fdb7aed61bf732701d /src/keymap.h
parent046debb9359c85e2f2bc5c6d9481dac0025c6a80 (diff)
downloadrneovim-2e4613aecc712eb5e893d341da5f571f932376d5.tar.gz
rneovim-2e4613aecc712eb5e893d341da5f571f932376d5.tar.bz2
rneovim-2e4613aecc712eb5e893d341da5f571f932376d5.zip
Remove NUL macro
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 244e9b3ddf..da968dba00 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -131,10 +131,10 @@
* get second or third byte when translating special key code into three bytes
*/
#define K_SECOND(c) ((c) == K_SPECIAL ? KS_SPECIAL : (c) == \
- NUL ? KS_ZERO : KEY2TERMCAP0(c))
+ '\0' ? KS_ZERO : KEY2TERMCAP0(c))
#define K_THIRD(c) (((c) == K_SPECIAL || (c) == \
- NUL) ? KE_FILLER : KEY2TERMCAP1(c))
+ '\0') ? KE_FILLER : KEY2TERMCAP1(c))
/*
* get single int code from second byte after K_SPECIAL