urlmon: Use URL_FILE_USE_PATHURL flag to combine urls.

oldstable
Jacek Caban 2006-07-16 21:28:51 +02:00 committed by Alexandre Julliard
parent 29763fd605
commit 919871523a
1 changed files with 2 additions and 2 deletions

View File

@ -1074,8 +1074,8 @@ static HRESULT URLMonikerImpl_Construct(URLMonikerImpl* This, LPCOLESTR lpszLeft
This->URLName = HeapAlloc(GetProcessHeap(), 0, sizeStr*sizeof(WCHAR));
if(lpszLeftURLName) {
hres = CoInternetCombineUrl(lpszLeftURLName, lpszURLName, 0, This->URLName, sizeStr,
&sizeStr, 0);
hres = CoInternetCombineUrl(lpszLeftURLName, lpszURLName, URL_FILE_USE_PATHURL,
This->URLName, sizeStr, &sizeStr, 0);
if(FAILED(hres)) {
HeapFree(GetProcessHeap(), 0, This->URLName);
return hres;