[Bug 709] riched32.dll needs to be improved a lot (was: Richedit does not handle input with PTE)

Wine Bugs wine-bugs at winehq.org
Sun Oct 2 09:41:49 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=709





------- Additional Comments From wdev at foltman.com  2005-02-10 09:41 -------
Now a surprise. While I've fixed the bug that prevents the first screen from
being displayed, the installer breaks with the same type of error on third (or
so) screen - *regardless* if I'm using native or builtin version of
riched32/riched20.

The bug was in EM_LINELENGTH handler, and is fixed by replacing the
corresponding if statement in editor.c by:

    if (item_end)
      nNextLineOfs = ME_CharOfsFromRunOfs(editor, ME_FindItemFwd(item_end,
diRun), 0);
    else
      nNextLineOfs = ME_FindItemFwd(item,
diParagraphOrEnd)->member.para.nCharOfs-(editor->bEmulateVersion10?2:1);

I'll send a patch once the previous one gets accepted.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list