aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-06-07 13:17:27 +0300
committerPavel Platto <hinidu@gmail.com>2014-08-02 09:17:00 +0300
commitfe61a45c07c471f1965e827e0c7dd2e1cc26527a (patch)
tree6fd23deab08fd644a50ed06dc7a451fd84d9896d
parentde8ba56495abeef40fc7ef7ab4c9319d6c45f3b3 (diff)
downloadrneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.tar.gz
rneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.tar.bz2
rneovim-fe61a45c07c471f1965e827e0c7dd2e1cc26527a.zip
Remove __MVS__ and MOTIF390_MNEMONIC_FIXED
-rw-r--r--src/nvim/menu.c14
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;
}