riched20/tests: Mark behaviour at 120 dpi as broken

André Hentschel nerv at dawncrow.de
Thu Dec 9 12:38:19 CST 2010


comparison to 96 dpi can be found at http://test.winehq.org/data/23906816d87795c363f0199f33ff70f2732c6ab5/index_Win7.html
---
 dlls/riched20/tests/editor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index efd2023..5321d07 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -6082,7 +6082,9 @@ static void test_EM_CHARFROMPOS(void)
     point.x = 1000;
     point.y = 40;
     result = SendMessage(hwnd, EM_CHARFROMPOS, 0, (LPARAM)&point);
-    todo_wine ok(result == 39, "expected character index of 39 but got %d\n", result);
+    todo_wine ok(result == 39,
+                 broken(result == 34) /* 120 dpi */,
+                 "expected character index of 39 but got %d\n", result);
 
     point.x = 1000;
     point.y = -1;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list