richedit: Fixed test failing on windows version with larger font sizes. (try 2)
dylan.ah.smith at gmail.com
Mon Sep 29 19:16:31 CDT 2008
The test was failing because the height of the richedit control was
assumed to be more than two lines of text in length, however this didn't
seem to be true on certain versions of Windows.
During the bug squish party I fixed the version on a japenese version
of Windows 2000 that was failing, and the font sizes appeared to
be different than the Windows XP machine I normally test on.
The problem seems to be fixed by just increasing the vertical height of
the richedit window.
Update for try 2: Added in a comment to help avoid a regression by
someone refactoring the code.
dlls/riched20/tests/editor.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches