Commit in reactos/lib/richedit on MAIN
winehq2ros.patch+271.1 -> 1.2
Sync with Wine-20040213

reactos/lib/richedit
winehq2ros.patch 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- winehq2ros.patch	1 Feb 2004 21:20:05 -0000	1.1
+++ winehq2ros.patch	17 Feb 2004 23:09:05 -0000	1.2
@@ -0,0 +1,27 @@
+Index: reader.c
+===================================================================
+RCS file: /home/wine/wine/dlls/richedit/reader.c,v
+retrieving revision 1.13
+diff -u -r1.13 reader.c
+--- reader.c	30 Jan 2004 22:56:33 -0000	1.13
++++ reader.c	17 Feb 2004 23:16:04 -0000
+@@ -126,11 +126,17 @@
+     {
+         char buff[10];
+         long pcb;
+-        info->editstream.pfnCallback(info->editstream.dwCookie, buff, 1, &pcb);
++        info->editstream.pfnCallback(info->editstream.dwCookie, buff, sizeof(buff), &pcb);
+         if(pcb == 0)
+            return EOF;
+         else
+-           CHARLIST_Enqueue(&info->inputCharList, buff[0]);
++        {
++           int i;
++           for (i = 0; i < pcb; i++)
++           {
++               CHARLIST_Enqueue(&info->inputCharList, buff[i]);
++           }
++        }
+     }
+     myChar = CHARLIST_Dequeue(&info->inputCharList);
+     return (int) myChar;
CVSspam 0.2.8