mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
comctl32: Use struct member after check for NULL (Coverity).
This commit is contained in:
parent
c42415a547
commit
412aa2a10d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user