jscript: Improve interp_local debug traces.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Jacek Caban 2018-02-09 14:30:41 +01:00 committed by Alexandre Julliard
parent b688f6ee34
commit a48ecc7e7c
1 changed files with 1 additions and 1 deletions

View File

@ -1296,7 +1296,7 @@ static HRESULT interp_local(script_ctx_t *ctx)
jsval_t copy;
HRESULT hres;
TRACE("%d\n", arg);
TRACE("%d: %s\n", arg, debugstr_w(local_name(frame, arg)));
if(!frame->base_scope || !frame->base_scope->frame)
return identifier_value(ctx, local_name(frame, arg));