diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/get_line_from_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/get_line_from_file.c b/libbb/get_line_from_file.c index 9f20f68cf..2142ec94c 100644 --- a/libbb/get_line_from_file.c +++ b/libbb/get_line_from_file.c | |||
@@ -48,7 +48,7 @@ char* FAST_FUNC bb_get_chunk_from_file(FILE *file, size_t *end) | |||
48 | #if ENABLE_PLATFORM_MINGW32 | 48 | #if ENABLE_PLATFORM_MINGW32 |
49 | if (idx && isatty(fileno(file)) && | 49 | if (idx && isatty(fileno(file)) && |
50 | GetStdHandle(STD_INPUT_HANDLE) != INVALID_HANDLE_VALUE) | 50 | GetStdHandle(STD_INPUT_HANDLE) != INVALID_HANDLE_VALUE) |
51 | OemToCharBuff(linebuf, linebuf, idx); | 51 | conToCharBuffA(linebuf, idx); |
52 | #endif | 52 | #endif |
53 | return linebuf; | 53 | return linebuf; |
54 | } | 54 | } |