[PATCH 2/2] Fix a test failure on several platforms
Paul Vriens
Paul.Vriens.Wine at gmail.com
Wed Sep 30 07:17:57 CDT 2009
---
dlls/comctl32/tests/monthcal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c
index 268c25a..0174d25 100644
--- a/dlls/comctl32/tests/monthcal.c
+++ b/dlls/comctl32/tests/monthcal.c
@@ -993,10 +993,10 @@ static void test_monthcal_hittest(void)
expect_hex(MCHT_TITLEBK, res);
/* in active area - month section of the title */
- mchit.pt.x = r.right / 2;
+ mchit.pt.x = r.right / 3;
mchit.pt.y = 2 * r.bottom / 19;
res = SendMessage(hwnd, MCM_HITTEST, 0, (LPARAM) & mchit);
- expect(r.right / 2, mchit.pt.x);
+ expect(r.right / 3, mchit.pt.x);
expect(2 * r.bottom / 19, mchit.pt.y);
expect(mchit.uHit, res);
expect_hex(MCHT_TITLE, res);
--
1.6.2.5
--------------030501060700060007070708--
More information about the wine-patches
mailing list