[PATCH] Fix a typo in null pointer test condition, should be IShellFolder2 instead

Nikolay Sivov nsivov at codeweavers.com
Wed Apr 21 16:34:35 CDT 2010


---
 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);
-- 
1.5.6.5


--=-qdjIsnQ+kU3P0BBjTjHp--




More information about the wine-patches mailing list