[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/7] comctl32/monthcal: Use a single calendar for
From:       Nikolay Sivov <bunglehead () gmail ! com>
Date:       2009-09-30 10:10:11
Message-ID: 4AC32E83.6040209 () gmail ! com
[Download RAW message or body]

Paul Vriens wrote:
> 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)?
>
Hi, Paul.

I certainly noticed that. A problem for me is that it doesn't fail on 
mine XP. Could you please send me (offlist) a crossbuilt binary with 
this patch - I'm not able to built it myself at the moment.

About fragility of these test - it was a reason why I use dynamic point 
calculation here, it was fixed before. So now it should be less dpi/font 
dependent I hope. It isn't affected by locale too much I think.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic