Commit 55559aa3 authored by Gabriel Buades Rubio's avatar Gabriel Buades Rubio Committed by Alexandre Julliard

When sending multi-line boxes to console throgh WineConsoleOutputA,

only the first line was being translated into wide-chars.
parent cf8b29f7
......@@ -386,7 +386,7 @@ BOOL WINAPI WriteConsoleOutputA( HANDLE hConsoleOutput, const CHAR_INFO *lpBuffe
{
memcpy( &ciw[y * new_size.X], &lpBuffer[(y + coord.Y) * size.X + coord.X],
new_size.X * sizeof(CHAR_INFO) );
char_info_AtoW( ciw, new_size.X );
char_info_AtoW( &ciw[ y * new_size.X ], new_size.X );
}
new_coord.X = new_coord.Y = 0;
ret = WriteConsoleOutputW( hConsoleOutput, ciw, new_size, new_coord, region );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment