URLMON: Fix URLMonikerImpl_Construct (resend)

Felix Nawothnig felix.nawothnig at t-online.de
Sat Jul 16 04:58:01 CDT 2005


Ignore the last patch, this is more clean. Just woke up. :)

ChangeLog:
Fix misuse of UrlCombineW
-------------- next part --------------
Index: dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.60
diff -u -r1.60 umon.c
--- dlls/urlmon/umon.c	11 Jul 2005 10:23:10 -0000	1.60
+++ dlls/urlmon/umon.c	16 Jul 2005 09:54:58 -0000
@@ -1134,7 +1134,7 @@
 static HRESULT URLMonikerImpl_Construct(URLMonikerImpl* This, LPCOLESTR lpszLeftURLName, LPCOLESTR lpszURLName)
 {
     HRESULT hres;
-    DWORD sizeStr;
+    DWORD sizeStr = INTERNET_MAX_URL_LENGTH;
 
     TRACE("(%p,%s,%s)\n",This,debugstr_w(lpszLeftURLName),debugstr_w(lpszURLName));
     memset(This, 0, sizeof(*This));


More information about the wine-patches mailing list