You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
386 B

GetCmdChar: fix compilation with --disable-nls
Bug: https://bugs.gentoo.org/689904
--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -669,8 +669,8 @@
{
#ifndef WINNT_NATIVE // We use more than 256 for various extended keys
- wint_t c = ch & CHAR;
+ eChar c = ch & CHAR;
#else
- wint_t c = ch;
+ eChar c = ch;
#endif
return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
}