diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-02 13:56:51 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-02 13:58:56 +0200 |
commit | 81c54e607b1e79f20b35ca6f57ec2da8ed4185dd (patch) | |
tree | f7c566ba8eec4dde2b61fcb4a5a0f881d7314db4 /setup_native/source/win32/customactions/sellang | |
parent | f408102bd4befffa0a5a07d00cf7a79376566b3c (diff) |
prepare to accept partial BCP47 (lll-Ssss-CC-vvvvvvvv)
Change-Id: I3c65cb43696a829f29ab573b7b6e424a39d1a547
Diffstat (limited to 'setup_native/source/win32/customactions/sellang')
-rw-r--r-- | setup_native/source/win32/customactions/sellang/sellang.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/sellang/sellang.cxx b/setup_native/source/win32/customactions/sellang/sellang.cxx index b6f7ec559ea0..06c4c029a4e6 100644 --- a/setup_native/source/win32/customactions/sellang/sellang.cxx +++ b/setup_native/source/win32/customactions/sellang/sellang.cxx @@ -202,8 +202,12 @@ present_in_ui_langs(const char *lang) namespace { +/* TODO-BCP47: unlimit this, and if possible change from '_' to '-' separator + * to ease things. */ +// XXX NOTE: the sizeof needs to follow what is accepted in +// setup_native/source/packinfo/spellchecker_selection.pl struct InstallLocalized { - char lang[sizeof("xx_XX")]; + char lang[sizeof("lll_Ssss_CC_vvvvvvvv")]; bool install; }; |