shell32/shlview: Fix a typo in null pointer test condition, should be IShellFolder2 instead.

This commit is contained in:
Nikolay Sivov 2010-04-22 01:34:35 +04:00 committed by Alexandre Julliard
parent 65900b4a31
commit 9d5b6bb965

View file

@ -417,7 +417,7 @@ static void ShellView_InitList(IShellViewImpl *This)
for (i = 0; 1; i++)
{
if (This->pSFParent)
if (This->pSF2Parent)
hr = IShellFolder2_GetDetailsOf(This->pSF2Parent, NULL, i, &sd);
else
hr = IShellDetails_GetDetailsOf(details, NULL, i, &sd);