Module: wine Branch: master Commit: aaa1c802a4052777f6ba2c108f5b728d76ed2433 URL: http://source.winehq.org/git/wine.git/?a=commit;h=aaa1c802a4052777f6ba2c108f...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Wed Feb 7 20:21:02 2007 +0100
comctl32/tests: Fix typo (Coverity).
---
dlls/comctl32/tests/rebar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/rebar.c b/dlls/comctl32/tests/rebar.c index 4cc6a4e..23497ef 100644 --- a/dlls/comctl32/tests/rebar.c +++ b/dlls/comctl32/tests/rebar.c @@ -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,