shell32/shlview: Fix a typo in null pointer test condition, should be IShellFolder2...
authorNikolay Sivov <nsivov@codeweavers.com>
Wed, 21 Apr 2010 21:34:35 +0000 (01:34 +0400)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 22 Apr 2010 09:56:21 +0000 (11:56 +0200)
dlls/shell32/shlview.c

index c7d9ee87f7b96f634594846d06a2fff773f345aa..b3d300ae117569c123e3f91ad93f7cc45f5408b2 100644 (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);