I extended get_default_sublang() to work with LCIDs that have a script but no country.
I also made a change in parse_locale_name(), because <LANG>-<SCRIPTS> is also a valid locale name form.
Thanks to Alexandre for the suggestion.
Signed-off-by: Zhiyi Zhang yi.gd.cn@gmail.com --- dlls/kernel32/locale.c | 34 ++++++++++++++++++++++++---------- dlls/kernel32/tests/locale.c | 24 +++++++++++------------- 2 files changed, 35 insertions(+), 23 deletions(-)