qingdoa daoo : comctl32: Fix an unsigned comparison to zero.
Module: wine Branch: refs/heads/master Commit: d2f59fe4554313700487724a98762715a8098f62 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d2f59fe4554313700487724a... Author: qingdoa daoo <qingdao33122(a)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 {
participants (1)
-
Alexandre Julliard