Commit b908ec22 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

infosoft/tests: Fix refilling the text buffer.

Up to Windows 10 1507 BreakText() would increment iCur but later Windows versions leave it unchanged. So assume all characters up to iEnd have been processed. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50844Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 8ac9f334
......@@ -152,7 +152,7 @@ static HRESULT WINAPI fillbuf_many(TEXT_SOURCE *ts)
if (ts->awcBuffer == NULL)
ts->awcBuffer = teststring;
else
ts->awcBuffer += ts->iCur;
ts->awcBuffer += ts->iEnd;
if (!ts->awcBuffer[0])
return WBREAK_E_END_OF_TEXT;
......
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