[PATCH] mscoree: Print the correct values in a TRACE.
Nicolas Le Cam
niko.lecam at gmail.com
Fri Mar 23 16:09:49 CDT 2012
Le 23 mars 2012 21:41, Lauri Kenttä <lauri.kentta at gmail.com> a écrit :
> ---
> dlls/mscoree/mscoree_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
> index 1aa120f..0ebc813 100644
> --- a/dlls/mscoree/mscoree_main.c
> +++ b/dlls/mscoree/mscoree_main.c
> @@ -359,7 +359,7 @@ HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWST
>
> HRESULT WINAPI GetRequestedRuntimeVersion(LPWSTR pExe, LPWSTR pVersion, DWORD cchBuffer, DWORD *dwlength)
> {
> - TRACE("(%s, %p, %d, %p)\n", debugstr_w(pExe), debugstr_w(pExe), cchBuffer, dwlength);
> + TRACE("(%s, %p, %d, %p)\n", debugstr_w(pExe), pVersion, cchBuffer, dwlength);
>
> if(!dwlength)
> return E_POINTER;
> --
> 1.7.9.4
>
>
>
Hi Lauri,
Should be %s debugstr_w(pVersion) IMHO.
--
Nicolas Le Cam
More information about the wine-devel
mailing list