Nikolay Sivov : jscript: Use specified expression length to trace it.

Alexandre Julliard julliard at winehq.org
Wed Nov 2 14:23:38 CDT 2011


Module: wine
Branch: master
Commit: b4987d095f2ec5dcf75411a9d9a0c130041e380f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b4987d095f2ec5dcf75411a9d9a0c130041e380f

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Nov  2 21:43:20 2011 +0300

jscript: 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))




More information about the wine-cvs mailing list