qingdoa daoo : comctl32: Fix an unsigned comparison to zero.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 20 08:46:15 CDT 2006


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

Author: qingdoa daoo <qingdao33122 at yahoo.com>
Date:   Wed Apr 19 17:53:28 2006 -0700

comctl32: Fix an unsigned comparison to zero.

---

 dlls/comctl32/toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 64be7ec..41a531a 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -6167,7 +6167,7 @@ TOOLBAR_LButtonUp (HWND hwnd, WPARAM wPa
     * NM_CLICK with the NMMOUSE structure. */
     nmmouse.dwHitInfo = nHit;
 
-    if (nmmouse.dwHitInfo < 0)
+    if (nHit < 0)
         nmmouse.dwItemSpec = -1;
     else
     {




More information about the wine-cvs mailing list