comctl32/tests: Fix typo (Coverity).
This commit is contained in:
parent
7574fede93
commit
aaa1c802a4
|
@ -33,7 +33,7 @@ static HWND hRebar;
|
|||
|
||||
static void rebuild_rebar(HWND *hRebar)
|
||||
{
|
||||
if (hRebar)
|
||||
if (*hRebar)
|
||||
DestroyWindow(*hRebar);
|
||||
|
||||
*hRebar = CreateWindow(REBARCLASSNAME, NULL, WS_CHILD | WS_VISIBLE, 0, 0, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue