Commit 412aa2a1 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32: Use struct member after check for NULL (Coverity).

parent c42415a5
......@@ -5618,10 +5618,12 @@ static BOOL LISTVIEW_GetSubItemRect(LISTVIEW_INFO *infoPtr, INT nItem, LPRECT lp
{
POINT Position;
LVITEMW lvItem;
INT nColumn = lprc->top;
INT nColumn;
if (!lprc) return FALSE;
nColumn = lprc->top;
TRACE("(nItem=%d, nSubItem=%ld)\n", nItem, lprc->top);
/* On WinNT, a subitem of '0' calls LISTVIEW_GetItemRect */
if (lprc->top == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment