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;
|
HWND p,cb;
|
||||||
INT sel;
|
INT sel;
|
||||||
p = GetParent(dlg);
|
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);
|
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);
|
sel = SendMessage(cb, CB_GETCURSEL, 0, 0);
|
||||||
ok (sel != -1, "Failed to get selection from filter listbox\n");
|
ok (sel != -1, "Failed to get selection from filter listbox\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user