Paul Vriens : comctl32/tests: Fix a test failure on older comctl32.

Alexandre Julliard julliard at winehq.org
Thu Dec 10 10:01:04 CST 2009


Module: wine
Branch: master
Commit: 1d0e02b63e3680ff38393e1e2af0c40ce8ff6d84
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d0e02b63e3680ff38393e1e2af0c40ce8ff6d84

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Dec 10 16:23:31 2009 +0100

comctl32/tests: Fix a test failure on older comctl32.

---

 dlls/comctl32/tests/datetime.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/datetime.c b/dlls/comctl32/tests/datetime.c
index a871930..a97ab34 100644
--- a/dlls/comctl32/tests/datetime.c
+++ b/dlls/comctl32/tests/datetime.c
@@ -667,7 +667,8 @@ static void test_wm_set_get_text(void)
 
     ret = SendMessage(hWnd, WM_SETTEXT, 0, (LPARAM)a_str);
     ok(CB_ERR == ret ||
-       broken(1 == ret), /* comctl32 <= 4.72 */
+       broken(0 == ret) || /* comctl32 <= 4.72 */
+       broken(1 == ret), /* comctl32 <= 4.70 */
        "Expected CB_ERR, got %ld\n", ret);
 
     buff[0] = 0;




More information about the wine-cvs mailing list