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).
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index d066720..c432393 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -290,7 +290,7 @@
}
ME_InsertTextFromCursor(editor, 0, pText, nWideChars, style);
- if (stream->dwSize < STREAMIN_BUFFER_SIZE)
+ if (stream->dwSize == 0)
break;
stream->dwSize = 0;
} while(1);