[Resend] SHLWAPI fixes.

Dmitry Timoshkov dmitry at baikal.ru
Thu Dec 18 20:52:08 CST 2003


"Flameeyes" <dgp85 at users.sourceforge.net> wrote:

> The attached patches fixes some functions of shlwapi I needed to run an
> application I wrote with BCB that was using MS XML Parser.
> I'm using it and works well AFAIK.

> @@ -2346,6 +2376,9 @@
>      }
>      StrCpyW(pszPointer, pszPath);
>      StrCpyW(pszUrl, pszNewUrl);
> +
> +    LPWSTR slash;
> +    while((slash = StrChrW(pszUrl, '\\'))) *slash = '/';
>      return S_OK;
> }

Your patch will not compile with older C compilers. You need to put
variables on the top of the function body. Please resend.

-- 
Dmitry.





More information about the wine-devel mailing list