comdlg32/tests 2/2: Fix a test failure on Win9x.

This commit is contained in:
Paul Vriens 2008-11-20 20:52:35 +01:00 committed by Alexandre Julliard
parent c9b8260056
commit cac3cb9036

View File

@ -199,7 +199,9 @@ static UINT CALLBACK create_view_window2_hook(HWND dlg, UINT msg, WPARAM wParam,
hr = IShellView2_GetCurrentInfo(shell_view2, &folder_settings);
ok(SUCCEEDED(hr), "GetCurrentInfo returned %#x\n", hr);
ok(folder_settings.ViewMode == FVM_DETAILS, "view mode is %d, expected %d\n", folder_settings.ViewMode, FVM_DETAILS);
ok(folder_settings.ViewMode == FVM_DETAILS ||
broken(folder_settings.ViewMode == FVM_LIST), /* Win9x */
"view mode is %d, expected %d\n", folder_settings.ViewMode, FVM_DETAILS);
cleanup:
if (shell_view2) IShellView2_Release(shell_view2);