SHELL32: fix a regression in the file open dialog
Mike McCormack
mike at codeweavers.com
Thu Mar 17 08:09:55 CST 2005
ChangeLog:
* fix a regression in the file open dialog
-------------- next part --------------
Index: dlls/shell32/debughlp.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/debughlp.c,v
retrieving revision 1.18
diff -u -p -r1.18 debughlp.c
--- dlls/shell32/debughlp.c 16 Mar 2005 19:51:13 -0000 1.18
+++ dlls/shell32/debughlp.c 17 Mar 2005 14:08:54 -0000
@@ -215,7 +215,7 @@ void pdump (LPCITEMIDLIST pidl)
pidltemp = _dbg_ILGetNext(pidltemp);
- } while (pidltemp);
+ } while (pidltemp && pidltemp->mkid.cb);
}
else
{
@@ -275,7 +275,7 @@ BOOL pcheck (LPCITEMIDLIST pidl)
}
}
pidltemp = _dbg_ILGetNext(pidltemp);
- } while (pidltemp);
+ } while (pidltemp && pidltemp->mkid.cb);
}
return ret;
}
More information about the wine-patches
mailing list