mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 839751 - "Assertion failure: i < argc_" with localeCompare. r=jwalden
--HG-- extra : rebase_source : 82f04b0635be8e2f408e37d33a2ba186d3810011
This commit is contained in:
parent
5ac8600a70
commit
b9967ecbd5
@ -776,8 +776,6 @@ str_localeCompare(JSContext *cx, unsigned argc, Value *vp)
|
||||
return false;
|
||||
|
||||
if (cx->runtime->localeCallbacks && cx->runtime->localeCallbacks->localeCompare) {
|
||||
args[0].setString(thatStr);
|
||||
|
||||
Value result;
|
||||
if (!cx->runtime->localeCallbacks->localeCompare(cx, str, thatStr, &result))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user