mirror of
https://github.com/reactos/reactos.git
synced 2025-07-13 10:04:17 +00:00
[JSCRIPT] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
da0cd273de
commit
3e2d6582b7
31 changed files with 1860 additions and 1411 deletions
|
@ -117,7 +117,7 @@ HRESULT decode_source(WCHAR *code)
|
|||
static const WCHAR decode_endW[] = {'^','#','~','@'};
|
||||
|
||||
while(*src) {
|
||||
if(!strncmpW(src, decode_beginW, ARRAY_SIZE(decode_beginW))) {
|
||||
if(!wcsncmp(src, decode_beginW, ARRAY_SIZE(decode_beginW))) {
|
||||
DWORD len, i, j=0, csum, s=0;
|
||||
|
||||
src += ARRAY_SIZE(decode_beginW);
|
||||
|
@ -165,7 +165,7 @@ HRESULT decode_source(WCHAR *code)
|
|||
return JS_E_INVALID_CHAR;
|
||||
src += 8;
|
||||
|
||||
if(strncmpW(src, decode_endW, ARRAY_SIZE(decode_endW)))
|
||||
if(wcsncmp(src, decode_endW, ARRAY_SIZE(decode_endW)))
|
||||
return JS_E_INVALID_CHAR;
|
||||
src += ARRAY_SIZE(decode_endW);
|
||||
}else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue