packages/utils/tcsh/patches/010-wint.patch
Rosen Penev 3f2113db87 tcsh: update to 6.22.04
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-04 12:19:57 +02:00

14 lines
323 B
Diff

--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -668,9 +668,9 @@ int
GetCmdChar(Char ch)
{
#ifndef WINNT_NATIVE // We use more than 256 for various extended keys
- wint_t c = ch & CHAR;
+ Char c = ch & CHAR;
#else
- wint_t c = ch;
+ Char c = ch;
#endif
return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
}