From 47db6bc56728413c73c048f36d6cbf588891ebab Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 15 Jun 2005 18:07:43 +0000 Subject: [PATCH] Unquote the icon file path if it's quoted. --- dlls/shell32/classes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c index 96635f9765b..5ecd5d42181 100644 --- a/dlls/shell32/classes.c +++ b/dlls/shell32/classes.c @@ -178,6 +178,7 @@ static BOOL HCR_RegGetDefaultIconW(HKEY hkey, LPWSTR szDest, DWORD len, LPDWORD 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 hkey, LPSTR szDest, DWORD len, LPDWORD d else *dwNr=0; /* sometimes the icon number is missing */ ParseFieldA (szDest, 1, szDest, len); + PathUnquoteSpacesA(szDest); return TRUE; } return FALSE;