diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-06-07 13:17:27 +0300 |
---|---|---|
committer | Pavel Platto <hinidu@gmail.com> | 2014-08-02 09:17:00 +0300 |
commit | fe61a45c07c471f1965e827e0c7dd2e1cc26527a (patch) | |
tree | 6fd23deab08fd644a50ed06dc7a451fd84d9896d | |
parent | de8ba56495abeef40fc7ef7ab4c9319d6c45f3b3 (diff) | |
download | rneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.tar.gz rneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.tar.bz2 rneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.zip |
Remove __MVS__ and MOTIF390_MNEMONIC_FIXED
-rw-r--r-- | src/nvim/menu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nvim/menu.c b/src/nvim/menu.c index 9c81824cbb..1573aaae84 100644 --- a/src/nvim/menu.c +++ b/src/nvim/menu.c @@ -1185,21 +1185,7 @@ static char_u *menu_text(char_u *str, int *mnemonic, char_u **actext) if (p[1] == NUL) /* trailing "&" */ break; if (mnemonic != NULL && p[1] != '&') -#if !defined(__MVS__) || defined(MOTIF390_MNEMONIC_FIXED) *mnemonic = p[1]; -#else - { - /* - * Well there is a bug in the Motif libraries on OS390 Unix. - * The mnemonic keys needs to be converted to ASCII values - * first. - * This behavior has been seen in 2.8 and 2.9. - */ - char c = p[1]; - __etoa_l(&c, 1); - *mnemonic = c; - } -#endif STRMOVE(p, p + 1); p = p + 1; } |