Commit a8eb60e5 authored by Krzysztof Foltman's avatar Krzysztof Foltman Committed by Alexandre Julliard

Fixed another case of misunderstanding MSDN wrt StreamInProc, causing

license text to be truncated in Picasa installer (as well as some other programs, especially those that display long texts with NSIS).
parent eddb6ff6
...@@ -290,7 +290,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea ...@@ -290,7 +290,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea
} }
ME_InsertTextFromCursor(editor, 0, pText, nWideChars, style); ME_InsertTextFromCursor(editor, 0, pText, nWideChars, style);
if (stream->dwSize < STREAMIN_BUFFER_SIZE) if (stream->dwSize == 0)
break; break;
stream->dwSize = 0; stream->dwSize = 0;
} while(1); } while(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