aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-01-14 00:38:28 -0500
committerMichael Reed <m.reed@mykolab.com>2015-01-14 15:07:16 -0500
commitd86ebc7afb0f80a597d1361f54e838ce4689e36c (patch)
tree3874f9594796f75e7d1a97bf35b7d591a7389c9c /src/nvim/charset.c
parent9b4f6fbd33ebd452d472b0333accfcb34e01173b (diff)
downloadrneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.gz
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.bz2
rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.zip
Macro cleanup: PROTO
Regarding dict_lookup() in eval.c: both definitions are the same, the only difference being the spacing between the indirection operator and the indentation level.
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