richedit: Fixed test failing on windows version with larger font sizes

Dylan Smith dylan.ah.smith at gmail.com
Mon Sep 29 12:33:56 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.
---
 dlls/riched20/tests/editor.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Fixed-test-failing-on-windows-version-w.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080929/e64367fd/attachment.txt 


More information about the wine-patches mailing list