WINE Regression due to patch applied Feb 22, 2005 10:50 CDT

Krzysztof Foltman wdev at foltman.com
Sun Oct 9 10:15:11 CDT 2005


> The patch that changed these files is:
> ChangeSet ID:   16245
> CVSROOT:        /opt/cvs-commit
> Module name:    wine
> Changes by:     julliard at wine.codeweavers.com   2005/02/22 09:50:14

That patch isn't directly responsible for the bug, it has probably just
revealed it.

The bugfix will be sent as soon as the previous bugfixes are accepted.
It looks more or less like this:

Index: editor.c
===================================================================
RCS file: /home/wine/wine/dlls/riched20/editor.c,v
retrieving revision 1.59
diff -u -r1.59 editor.c
--- editor.c    3 Oct 2005 18:45:39 -0000       1.59
+++ editor.c    9 Oct 2005 15:00:34 -0000
@@ -2062,10 +2075,10 @@

     if (item->member.run.nFlags & MERF_ENDPARA)
     {
-      *buffer++ = '\r';
+      *buffer = '\r';
       if (bCRLF)
       {
-        *buffer = '\n';
+        *(++buffer) = '\n';
         nWritten++;
       }
       assert(nLen == 1);

Check it out, it works for me.

Krzysztof




More information about the wine-devel mailing list