mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 06:57:59 +02:00
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
18 lines
406 B
Diff
18 lines
406 B
Diff
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;
|
|
}
|