aboutsummaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-05-01 14:00:13 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-05-01 14:00:31 -0400
commit1b5217687abf8e1aeabaf4e5a64073177d56e593 (patch)
treece4bac12fff08088724bee38bee9d96d33bfe416 /src/keymap.h
parent3b77a62a77970a1c1aff5d50df396171ce24b464 (diff)
downloadrneovim-1b5217687abf8e1aeabaf4e5a64073177d56e593.tar.gz
rneovim-1b5217687abf8e1aeabaf4e5a64073177d56e593.tar.bz2
rneovim-1b5217687abf8e1aeabaf4e5a64073177d56e593.zip
revert #652
reverting broad cosmetic/style change because: - increases merge-conflicts - increases overhead of merging upstream Vim patches - reasons for change are ambiguous, so default to no change
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 da968dba00..244e9b3ddf 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) == \
- '\0' ? KS_ZERO : KEY2TERMCAP0(c))
+ NUL ? KS_ZERO : KEY2TERMCAP0(c))
#define K_THIRD(c) (((c) == K_SPECIAL || (c) == \
- '\0') ? KE_FILLER : KEY2TERMCAP1(c))
+ NUL) ? KE_FILLER : KEY2TERMCAP1(c))
/*
* get single int code from second byte after K_SPECIAL