From b4987d095f2ec5dcf75411a9d9a0c130041e380f Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 2 Nov 2011 21:43:20 +0300 Subject: [PATCH] jscript: Use specified expression length to trace it. --- dlls/jscript/regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c index e38e6eafd22..baef45b67ca 100644 --- a/dlls/jscript/regexp.c +++ b/dlls/jscript/regexp.c @@ -3846,7 +3846,7 @@ HRESULT create_regexp(script_ctx_t *ctx, const WCHAR *exp, int len, DWORD flags, RegExpInstance *regexp; HRESULT hres; - TRACE("%s %x\n", debugstr_w(exp), flags); + TRACE("%s %x\n", debugstr_wn(exp, len), flags); hres = alloc_regexp(ctx, NULL, ®exp); if(FAILED(hres))