mshtml/tests: Trace the buffer when it is unexpectedly changed in mshtml:protocol.
Jacek Caban
jacek at codeweavers.com
Thu Feb 18 07:46:29 CST 2016
On 02/18/16 03:14, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at free.fr>
> ---
> dlls/mshtml/tests/protocol.c | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
> index f9803df..9a511ba 100644
> --- a/dlls/mshtml/tests/protocol.c
> +++ b/dlls/mshtml/tests/protocol.c
> @@ -397,7 +397,7 @@ static void test_res_protocol(void)
> hres = IInternetProtocolInfo_ParseUrl(protocol_info, blank_url, PARSE_DOMAIN, 0, buf,
> sizeof(buf)/sizeof(buf[0]), &size, 0);
> ok(hres == S_OK || hres == E_FAIL, "ParseUrl failed: %08x\n", hres);
> - ok(buf[0] == '?', "buf changed\n");
> + ok(buf[0] == '?', "buf changed buf[0]='%c'\n", buf[0]);
>
Why don't you use wine_dbgstr_w here?
Thanks,
Jacek
More information about the wine-devel
mailing list