mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
comdlg32/tests: Remove unneeded casts.
This commit is contained in:
parent
5e05a7b9eb
commit
fc967b45e8
|
@ -212,9 +212,9 @@ static LONG_PTR WINAPI template_hook(HWND dlg, UINT msg, WPARAM wParam, LPARAM l
|
|||
HWND p,cb;
|
||||
INT sel;
|
||||
p = GetParent(dlg);
|
||||
ok(p!=(HWND)NULL, "Failed to get parent of template\n");
|
||||
ok(p!=NULL, "Failed to get parent of template\n");
|
||||
cb = GetDlgItem(p,0x470);
|
||||
ok(cb!=(HWND)NULL, "Failed to get filter combobox\n");
|
||||
ok(cb!=NULL, "Failed to get filter combobox\n");
|
||||
sel = SendMessage(cb, CB_GETCURSEL, 0, 0);
|
||||
ok (sel != -1, "Failed to get selection from filter listbox\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue