[PATCH 3/7] comctl32/monthcal: Use a single calendar for hittesting tests, make point calculation at runtime

Paul Vriens paul.vriens.wine at gmail.com
Wed Sep 30 02:41:01 CDT 2009


On 09/29/2009 12:36 PM, Nikolay Sivov wrote:
> Changelog:
>     - be sure we have a single view calendar for hittesting
>
>
> ------------------------------------------------------------------------
>
>
Hi Nikolay,

This one introduces a test failure on several platforms:

monthcal.c:1002: Test failed: Expected 10000, got 10002

I fixed it on my NT4 box by checking the point more to the left (see 
attached).

I somehow doubt it's the correct fix though. Aren't these tests with 
more-or-less fixed points error-prone (aka, locale/font/dpi dependent)?

-- 
Cheers,

Paul.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090930/f1b95089/attachment.txt>


More information about the wine-devel mailing list