Hello Stefan,

Stefan Leichter wrote:
> Problem spotted from Claudio Fontana on wine-devel
> 
> tested on Win2K

> diff -ruw wine-git/dlls/kernel32/tests/profile.c 
> wine-build/dlls/kernel32/tests/profile.c
> --- wine-git/dlls/kernel32/tests/profile.c    2009-06-04 19:00:09.000000000 
> +0200
> +++ wine-build/dlls/kernel32/tests/profile.c  2009-08-16 23:03:37.000000000 
> +0200
> @@ -41,6 +41,13 @@
>      UINT result9x;
>  };
> 
> +static const char *debugstr_w(LPCWSTR str)
you don't need to add a local debugstr_w implementation anymore.
Alexandre added wine_dbgstr_w() to test.h two days ago with commit
ee868cce5b412b103ff167deb59c3d5237363199.

> +{
> +    static char buf[1024];
> +    WideCharToMultiByte(CP_ACP, 0, str, -1, buf, sizeof(buf), NULL, NULL);
> +    return buf;
> +}
> +
>  static void test_profile_int(void)
>  {
>      struct _profileInt profileInt[]={

bye
        michael


Reply via email to