Commit 2e5c0a3a authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

wineconsole: Pass an output parameter when calling ReadConsoleOutputCharacterW.

parent ee84a9df
......@@ -690,7 +690,9 @@ static void WCUSER_CopySelectionToClipboard(const struct inner_data* data)
for (y = 0; y < h; y++, c.Y++)
{
LPWSTR end;
ReadConsoleOutputCharacterW(data->hConOut, p, w - 1, c, NULL);
DWORD count;
ReadConsoleOutputCharacterW(data->hConOut, p, w - 1, c, &count);
/* strip spaces from the end of the line */
end = p + w - 1;
......
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