aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
commit5c6348e9995b0dde23a2de99263e9e0e3a72fcd2 (patch)
tree9640f1bb8888959d4a34db04a5e06d9bde48ed7b /src/nvim/charset.c
parent5f24549ab1ecd69236be2761a2e43690ba7cf283 (diff)
parentd2e7cce560932e5e8032656598b0e27e1c06ec0d (diff)
downloadrneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.gz
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.bz2
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.zip
Merge pull request #1816 from Pyrohh/macro_cleanup
Macro cleanup
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 8781e389ed..b3d0949722 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -1849,7 +1849,7 @@ int hex2nr(int c)
return c - '0';
}
-#if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK) || defined(PROTO)
+#if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK)
/// Convert two hex characters to a byte.
/// Return -1 if one of the characters is not hex.
@@ -1866,8 +1866,7 @@ int hexhex2nr(char_u *p)
return (hex2nr(p[0]) << 4) + hex2nr(p[1]);
}
-#endif // if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK)
- // || defined(PROTO)
+#endif // if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK)
/// Return true if "str" starts with a backslash that should be removed.
/// For WIN32 this is only done when the character after the