[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:06 UTC 2012
The following commit has been merged in the wheezy branch:
commit 053f3881ca08980d08fc1d4af95264d354844955
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 9 14:02:35 2012 +0200
jscript: Replace only the first match for non-regexp pattern in String.replace.
(cherry picked from commit 78fc648dec5218dbb1290ee99907e78a08af7cc8)
diff --git a/dlls/jscript/string.c b/dlls/jscript/string.c
index 9c947a1..14877e9 100644
--- a/dlls/jscript/string.c
+++ b/dlls/jscript/string.c
@@ -961,6 +961,9 @@ static HRESULT String_replace(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DI
if(FAILED(hres))
break;
}
+
+ if(!regexp)
+ break;
}
if(SUCCEEDED(hres))
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list