summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-11-14 18:09:02 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-15 13:55:00 +0100
commite4c2a5c29f78def39801d8f2ea12b954594f7e7d (patch)
tree78c3749c98ed937c3b3ddde0b67e2376ae6b0bdf /src
parent1e0e5f2d68f58843d900467eea6981b5a28244f5 (diff)
Assign correct codes to QLocale::AnyCountry and AnyScript
as their meaning, in fact, is unknown (or default) country/script. Change-Id: Id75a70d4b33c2092de414f3ac357f6bcb627ba47 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qlocale_data_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale_data_p.h b/src/corelib/tools/qlocale_data_p.h
index f0d92b7801..4d4cb962ce 100644
--- a/src/corelib/tools/qlocale_data_p.h
+++ b/src/corelib/tools/qlocale_data_p.h
@@ -5091,7 +5091,7 @@ static const unsigned char language_code_list[] =
;
static const unsigned char script_code_list[] =
-"\0\0\0\0" // AnyScript
+"Zzzz" // AnyScript
"Arab" // Arabic
"Cyrl" // Cyrillic
"Dsrt" // Deseret
@@ -5128,7 +5128,7 @@ static const unsigned char script_code_list[] =
"Yiii" // Yi
;
static const unsigned char country_code_list[] =
-" \0" // AnyCountry
+"ZZ\0" // AnyCountry
"AF\0" // Afghanistan
"AL\0" // Albania
"DZ\0" // Algeria