mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:20:30 +00:00
wineconsole: Pass an output parameter when calling ReadConsoleOutputCharacterW.
This commit is contained in:
parent
ee84a9df12
commit
2e5c0a3acb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue