blob: 7f465d8a75eff9fe61616deaf746ad72d10b40aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
GetCmdChar: fix compilation with --disable-nls
Bug: https://bugs.gentoo.org/689904
--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -668,9 +668,9 @@
GetCmdChar(Char ch)
{
#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;
}
|