>From 054ba923f8e93cab2a0f145b25ac68178337a0a5 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed, 2 Nov 2011 21:43:20 +0300
Subject: [PATCH 3/3] Use specified expression length to trace it

---
 dlls/jscript/regexp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c
index e38e6ea..baef45b 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, &regexp);
     if(FAILED(hres))
-- 
1.5.6.5

