From 1ce2797c2f9a3f58152a79f11a59905536f677b8 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 25 May 2009 00:02:14 +0400 Subject: [PATCH] comctl32/listview: Remove duplicated expression. --- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 4d9b261ceb9..677bc1efe32 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;