http://bugs.winehq.org/show_bug.cgi?id=709
------- Additional Comments From wdev@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.