From 2e4613aecc712eb5e893d341da5f571f932376d5 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 29 Apr 2014 21:56:49 +0200 Subject: Remove NUL macro --- src/keymap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/keymap.h') 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 -- cgit