[Bug 10577] Maya PLE 8.5 problem with MS Visual C++ library

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 6 13:08:42 CST 2007


--- Comment #9 from Alex Villacís Lasso <a_villacis at palosanto.com>  2007-12-06 13:08:42 ---
Created an attachment (id=9521)
 --> (http://bugs.winehq.org/attachment.cgi?id=9521)
EM_GETTEXTLENGTHEX must not count last paragraph when processing GTL_USECRLF

Third of 4 patches to fix problems found in riched20 control. When using
EM_GETTEXTLENGTHEX and the GTL_USECRLF flag, the number of paragraphs is added
to the character count, in order to account for the extra LFs. This is
incorrect (an off-by-one error): what should be added is the number of
paragraph breaks between the paragraphs, and there is no paragraph break at the
end of the last paragraph (consistent with ME_GetTextW in

Patch already sent to wine-patches.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list