Module: wine Branch: master Commit: 9d5b6bb965a50ed1e4b3d6ffbf2a47bda113b5e4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d5b6bb965a50ed1e4b3d6ffbf...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Thu Apr 22 01:34:35 2010 +0400
shell32/shlview: Fix a typo in null pointer test condition, should be IShellFolder2 instead.
---
dlls/shell32/shlview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index c7d9ee8..b3d300a 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);