Nikolay Sivov : comctl32/listview: Remove duplicated expression.

Alexandre Julliard julliard at winehq.org
Mon May 25 10:06:33 CDT 2009


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Mon May 25 00:02:14 2009 +0400

comctl32/listview: Remove duplicated expression.

---

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

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 4d9b261..677bc1e 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -1817,7 +1817,7 @@ static void LISTVIEW_ShowFocusRect(const LISTVIEW_INFO *infoPtr, BOOL fShow)
     if (infoPtr->nFocusedItem < 0) return;
 
     /* we need some gymnastics in ICON mode to handle large items */
-    if ( (infoPtr->dwStyle & LVS_TYPEMASK) == LVS_ICON )
+    if (uView == LVS_ICON)
     {
 	RECT rcBox;
 




More information about the wine-cvs mailing list