comdlg32/tests: Fix a failing test on Win2k and below.

This commit is contained in:
Nicolas Le Cam 2009-08-03 20:48:22 +02:00 committed by Alexandre Julliard
parent 9089c3e1d2
commit b0dcfa7a23
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ static void toolbarcheck( HWND hDlg)
ret = SendMessage( ctrl, TB_ADDSTRING, 0, (LPARAM)"winetestwinetest\0\0");
ok( ret == 0, "addstring returned %d (expected 0)\n", ret);
maxtextrows = SendMessage( ctrl, TB_GETTEXTROWS, 0, 0);
ok( maxtextrows == 0, "Get(Max)TextRows returned %d (expected 0)\n", maxtextrows);
ok( maxtextrows == 0 || broken(maxtextrows == 1), /* Win2k and below */
"Get(Max)TextRows returned %d (expected 0)\n", maxtextrows);
}