[07/10] comctl32/listview: Remove duplicated expression

Nikolay Sivov bunglehead at gmail.com
Sun May 24 16:20:40 CDT 2009


Changelog:
    - Remove duplicated expression

>From c213db23c9a8e4a560884c34aa6eeb0d9535079a Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Mon, 25 May 2009 00:02:14 +0400
Subject: 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;
 
-- 
1.5.6.5







More information about the wine-patches mailing list