aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-16 23:42:25 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-16 23:42:25 -0300
commit0429857689ba98356bc80d01ebd540fe861e8db2 (patch)
treeb4d039dba9e18a041b00cfe31d954931a97241dd /src/nvim/charset.c
parentaf46564dd6e7e709f269f041f749dc312d9c3773 (diff)
parent40b7990553997d9eabb21b746346356016b373c5 (diff)
downloadrneovim-0429857689ba98356bc80d01ebd540fe861e8db2.tar.gz
rneovim-0429857689ba98356bc80d01ebd540fe861e8db2.tar.bz2
rneovim-0429857689ba98356bc80d01ebd540fe861e8db2.zip
Merge PR #1820 'Reimplement builtin terminal UI with termkey/unibilium'
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 6fb5ebf3e4..b8fcd2de09 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -1849,25 +1849,6 @@ int hex2nr(int c)
return c - '0';
}
-#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.
-///
-/// @param p
-///
-/// @return The two hex characters converted to a byte or -1 if one of the
-/// character is not hex.
-int hexhex2nr(char_u *p)
-{
- if (!vim_isxdigit(p[0]) || !vim_isxdigit(p[1])) {
- return -1;
- }
- return (hex2nr(p[0]) << 4) + hex2nr(p[1]);
-}
-
-#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
/// backslash is not a normal file name character.