Paul Vriens : comctl32/tests: Fix typo (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 16:00:28 CST 2007


Module: wine
Branch: master
Commit: aaa1c802a4052777f6ba2c108f5b728d76ed2433
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aaa1c802a4052777f6ba2c108f5b728d76ed2433

Author: Paul Vriens <paul.vriens.wine at 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,




More information about the wine-cvs mailing list