shell32/shellpath: Fall back to defaults in
SHGet(All)UserProfilePath
Michael Jung
mjung at iss.tu-darmstadt.de
Mon Jan 23 15:43:17 CST 2006
If the registry entry for the CSIDL_DESKTOP path is invalid, the Desktop
shellfolder won't initialize, which breaks all of the shell namespace. This
seems to happen quite often, since some people are removing the Z: drive
after the initial wineprefixcreate run (See bug 4322).
With this patch, _SHGet(All)UserProfilePath checks for the path to be returned
to start with a valid drive letter. If this is not the case, it falls back to
the default value.
ChangeLog:
Fall back to default value, if path to be returned by
_SHGet(All)UserProfilePath starts with an invalid drive letter.
dlls/shell32/shellpath.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5ee027d605dfa8f009aea3313523b7cf6e19cce2.diff
Type: text/x-patch
Size: 1144 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060123/c1a23d05/5ee027d605dfa8f009aea3313523b7cf6e19cce2.diff
More information about the wine-patches
mailing list