[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:03:18 UTC 2012
The following commit has been merged in the wheezy branch:
commit d7fe2f6ab2aab804c04ddf46c1cd1c4325d3a815
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 16 11:25:25 2012 +0200
jscript: Make sure to jump out of switch before entering implicit default clausule.
(cherry picked from commit 05d59abc1c7a0463a90fc121252b0e342a3609d1)
diff --git a/dlls/jscript/compile.c b/dlls/jscript/compile.c
index d0895a8..87e0f71 100644
--- a/dlls/jscript/compile.c
+++ b/dlls/jscript/compile.c
@@ -1516,6 +1516,9 @@ static HRESULT compile_switch_statement(compiler_ctx_t *ctx, switch_statement_t
assert(i == case_cnt);
if(!have_default) {
+ hres = push_instr_uint(ctx, OP_jmp, stat_ctx.break_label);
+ if(FAILED(hres))
+ return hres;
instr_ptr(ctx, default_jmp)->arg1.uint = ctx->code_off;
if(!push_instr(ctx, OP_undefined))
return E_OUTOFMEMORY;
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list