Module: wine Branch: master Commit: 87e2c255491a0b52ed2b13970448e5136f8f4c42 URL: http://source.winehq.org/git/wine.git/?a=commit;h=87e2c255491a0b52ed2b139704...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Sep 24 01:48:57 2008 +0200
jscript: Fixed a typo.
Spotted by Michael Stefaniuc.
---
dlls/jscript/engine.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index bc0b525..8f3ab02 100644 --- a/dlls/jscript/engine.c +++ b/dlls/jscript/engine.c @@ -951,7 +951,8 @@ HRESULT with_statement_eval(exec_ctx_t *ctx, statement_t *_stat, return_type_t *
hres = scope_push(ctx->scope_chain, obj, &ctx->scope_chain); jsdisp_release(obj); - if(FAILED(hres)); + if(FAILED(hres)) + return hres;
hres = stat_eval(ctx, stat->statement, rt, ret);