[Bug 13864] F.E.A.R: Can't accept EULA

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 23 14:07:20 CDT 2008


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





--- Comment #12 from Alex Villacís Lasso <a_villacis at palosanto.com>  2008-06-23 14:07:17 ---
Created an attachment (id=14307)
 --> (http://bugs.winehq.org/attachment.cgi?id=14307)
 richedit: EM_POSFROMCHAR should take into account scrollbar position. With
tests.

Finally, I found the root cause of the bug, as well as an explanation for the
regression. As usual, this is the typical case of a bugfix uncovering another
bug.

It turns out that the y-position of the very last member of the linked-list
structure in the builtin list control was not being updated, and remained with
a value of zero. Before the regression, this value was the one being reported
when the installed issued an EM_POSFROMCHAR on the position of the last line of
the text. After the regression,  the value being reported was the y-offset of
the last line, *uncorrected by the scrollbar position*, and therefore it did
not change when scrolling down. This patch adds the correction for the
scrollbar and tests for it. Please apply the previous patch, and then this one,
and report back whether it fixed the problem for you.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list