Skip to content

Commit be8359b

Browse files
committed
Use WriteConsoleOutputCharacterA.
Closes #33, #49, #53.
1 parent 9ccff33 commit be8359b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rlutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ RLUTIL_INLINE void setString(RLUTIL_STRING_T str) {
585585
CONSOLE_SCREEN_BUFFER_INFO csbi;
586586

587587
GetConsoleScreenBufferInfo(hConsoleOutput, &csbi);
588-
WriteConsoleOutputCharacter(hConsoleOutput, str, len, csbi.dwCursorPosition, &numberOfCharsWritten);
588+
WriteConsoleOutputCharacterA(hConsoleOutput, str, len, csbi.dwCursorPosition, &numberOfCharsWritten);
589589
#else // _WIN32 || USE_ANSI
590590
RLUTIL_PRINT(str);
591591
#ifdef __cplusplus

0 commit comments

Comments
 (0)