From 9d5b6bb965a50ed1e4b3d6ffbf2a47bda113b5e4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 22 Apr 2010 01:34:35 +0400 Subject: [PATCH] shell32/shlview: Fix a typo in null pointer test condition, should be IShellFolder2 instead. --- dlls/shell32/shlview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index c7d9ee87f7b..b3d300ae117 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -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);