diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-08 19:27:52 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-08 19:27:57 +0200 |
commit | 649ba77d36c4b554fb6f69206d59a1c5c9555fc0 (patch) | |
tree | dfe84b65a10b814611fee39706ddc0f4348832f2 | |
parent | d32f02bf0c46f840b433a0773397cd2dfa3b0a21 (diff) |
Whatever LANGUAGE_SYSTEM may be in future, this has to be 0
Change-Id: Iddc4dcf3e29919b092560d3bdd81ca85667b224b
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 6a9e55778bf9..2edb6eafc435 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -643,7 +643,7 @@ LanguageTag::ImplPtr LanguageTagImpl::registerOnTheFly( LanguageType nRegisterID if (!bOtherImpl || !pImpl->mbInitializedLangID) { - if (nRegisterID == LANGUAGE_SYSTEM || nRegisterID == LANGUAGE_DONTKNOW) + if (nRegisterID == LanguageType(0) || nRegisterID == LANGUAGE_DONTKNOW) nRegisterID = getNextOnTheFlyLanguage(); else { |