From a8eb60e5ee0d1de72d9b93cc59b9c0d9b6a3b4b6 Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Mon, 3 Oct 2005 10:14:28 +0000 Subject: [PATCH] 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). --- dlls/riched20/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index d0667201202..c43239308cc 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -290,7 +290,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea } ME_InsertTextFromCursor(editor, 0, pText, nWideChars, style); - if (stream->dwSize < STREAMIN_BUFFER_SIZE) + if (stream->dwSize == 0) break; stream->dwSize = 0; } while(1);