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

This commit is contained in:
Paul Vriens 2009-12-10 16:23:31 +01:00 committed by Alexandre Julliard
parent a9a3a8e155
commit 1d0e02b63e

View File

@ -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;