Module: wine Branch: master Commit: db447d0f669e3358dbd58f081cb9323046131464 URL: http://source.winehq.org/git/wine.git/?a=commit;h=db447d0f669e3358dbd58f081c...
Author: Marcus Meissner meissner@suse.de Date: Sun Sep 28 16:56:50 2008 +0200
jscript: Fixed crash in run test.
---
dlls/jscript/string.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/string.c b/dlls/jscript/string.c index fc40462..11ef882 100644 --- a/dlls/jscript/string.c +++ b/dlls/jscript/string.c @@ -530,7 +530,7 @@ static HRESULT rep_call(DispatchEx *func, const WCHAR *str, match_result_t *matc static HRESULT String_replace(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller) { - DWORD parens_cnt, parens_size=0, rep_len=0, length; + DWORD parens_cnt = 0, parens_size=0, rep_len=0, length; BSTR rep_str = NULL, match_str = NULL, ret_str; DispatchEx *rep_func = NULL, *regexp = NULL; match_result_t *parens = NULL, match;