jscript: Fix the lexicographical order of the String class properties array.

The find_builtin_prop internal routine in dispex.c implements a binary
search with the requirement that a class properties array be in
ascending order, so this fix allows String's properties array to
satisfy this requirement and allows the tests for String.sub() to
pass.
This commit is contained in:
Andrew Nguyen 2008-12-10 03:06:21 -06:00 committed by Alexandre Julliard
parent a6bdc47152
commit f2388d9269
1 changed files with 2 additions and 2 deletions

View File

@ -1261,9 +1261,9 @@ static const builtin_prop_t String_props[] = {
{smallW, String_small, PROPF_METHOD},
{splitW, String_split, PROPF_METHOD},
{strikeW, String_strike, PROPF_METHOD},
{substringW, String_substring, PROPF_METHOD},
{substrW, String_substr, PROPF_METHOD},
{subW, String_sub, PROPF_METHOD},
{substrW, String_substr, PROPF_METHOD},
{substringW, String_substring, PROPF_METHOD},
{supW, String_sup, PROPF_METHOD},
{toLocaleLowerCaseW, String_toLocaleLowerCase, PROPF_METHOD},
{toLocaleUpperCaseW, String_toLocaleUpperCase, PROPF_METHOD},