RE: [mshtml] Fix the size passed to MultiByteToWideChar for real

2009-04-23 Thread Colin Finck
Dmitry Timoshkov wrote: > returned_size must be intialized first. That's what I've already fixed in an updated patch yesterday: http://www.winehq.org/pipermail/wine-patches/2009-April/072175.html Best regards, Colin

Re: [mshtml] Fix the size passed to MultiByteToWideChar for real

2009-04-23 Thread Dmitry Timoshkov
"Colin Finck" wrote: wrote: @@ -425,6 +425,7 @@ static LPWSTR get_url(void) HKEY hkey; DWORD res, type; DWORD size = INTERNET_MAX_URL_LENGTH*sizeof(WCHAR); +DWORD returned_size; LPWSTR url; static const WCHAR wszGeckoUrl[] = {'G','e','c','k','o','U','r','l',0}; @