Commit b0dcfa7a authored by Nicolas Le Cam's avatar Nicolas Le Cam Committed by Alexandre Julliard

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

parent 9089c3e1
...@@ -48,7 +48,8 @@ static void toolbarcheck( HWND hDlg) ...@@ -48,7 +48,8 @@ static void toolbarcheck( HWND hDlg)
ret = SendMessage( ctrl, TB_ADDSTRING, 0, (LPARAM)"winetestwinetest\0\0"); ret = SendMessage( ctrl, TB_ADDSTRING, 0, (LPARAM)"winetestwinetest\0\0");
ok( ret == 0, "addstring returned %d (expected 0)\n", ret); ok( ret == 0, "addstring returned %d (expected 0)\n", ret);
maxtextrows = SendMessage( ctrl, TB_GETTEXTROWS, 0, 0); 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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment