shell: unquote icon path
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Wed Jun 15 08:28:08 CDT 2005
Huw Davies <huw at codeweavers.com>
Unquote the icon file path if it's quoted.
--
Huw Davies
huw at codeweavers.com
Index: dlls/shell32/classes.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/classes.c,v
retrieving revision 1.37
diff -u -p -r1.37 classes.c
--- dlls/shell32/classes.c 11 Apr 2005 13:04:41 -0000 1.37
+++ dlls/shell32/classes.c 15 Jun 2005 13:26:32 -0000
@@ -178,6 +178,7 @@ static BOOL HCR_RegGetDefaultIconW(HKEY
else
*dwNr=0; /* sometimes the icon number is missing */
ParseFieldW (szDest, 1, szDest, len);
+ PathUnquoteSpacesW(szDest);
return TRUE;
}
return FALSE;
@@ -201,6 +202,7 @@ static BOOL HCR_RegGetDefaultIconA(HKEY
else
*dwNr=0; /* sometimes the icon number is missing */
ParseFieldA (szDest, 1, szDest, len);
+ PathUnquoteSpacesA(szDest);
return TRUE;
}
return FALSE;
More information about the wine-patches
mailing list