summaryrefslogtreecommitdiff
blob: a01ebfb57fdb63305b7dcf9ba1900ff44c842226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
 }