RICHED20: EM_STREAMIN buffer size compatibility

Phil Krylov phil at newstar.rinet.ru
Tue Mar 8 16:00:06 CST 2005


ChangeLog:

Changed buffer size for EM_STREAMIN message to 4096, as it's what M$ uses.

Patch:

diff -p -u -b -r1.6 editor.c
--- editor.c    8 Mar 2005 19:03:01 -0000       1.6
+++ editor.c    8 Mar 2005 21:46:08 -0000
@@ -306,7 +306,7 @@ ME_TextBuffer *ME_MakeText() {
   return buf;
 }
 
-#define STREAMIN_BUFFER_SIZE 1024
+#define STREAMIN_BUFFER_SIZE 4096 /* M$ compatibility */
 
 static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, EDITSTREAM *stream, ME_Style *style)
 {



More information about the wine-patches mailing list