jscript: Use flatten string in create_regexp debug traces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8c8d8e80f5
commit
1e8f4c059b
|
@ -647,12 +647,12 @@ HRESULT create_regexp(script_ctx_t *ctx, jsstr_t *src, DWORD flags, jsdisp_t **r
|
|||
const WCHAR *str;
|
||||
HRESULT hres;
|
||||
|
||||
TRACE("%s %x\n", debugstr_jsstr(src), flags);
|
||||
|
||||
str = jsstr_flatten(src);
|
||||
if(!str)
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
TRACE("%s %x\n", debugstr_wn(str, jsstr_length(src)), flags);
|
||||
|
||||
hres = alloc_regexp(ctx, NULL, ®exp);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
|
|
Loading…
Reference in New Issue