https://git.reactos.org/?p=reactos.git;a=commitdiff;h=570cedf176109b7960aa4…
commit 570cedf176109b7960aa43ea673f402e3f1ba667
Author: Chan Chilung <eason066(a)gmail.com>
AuthorDate: Mon Oct 11 21:24:21 2021 +0800
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Oct 11 16:24:21 2021 +0300
[SETUPLIB][INPUT.CPL] Move zh-MO to ChineseTraditionalFonts group (#4010)
- The use of Traditional Chinese character is far more than Simplified one according
to Wikipedia
- The code page used on zh-MO is 950, which is Traditional Chinese's one
- zh-MO is described as Traditional Chinese here:
https://support.microsoft.com/en-us/windows/microsoft-traditional-chinese-i…
---
base/setup/lib/muilanguages.h | 2 +-
dll/cpl/input/input_list.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/setup/lib/muilanguages.h b/base/setup/lib/muilanguages.h
index 503d9c2e33a..36c0b4cd222 100644
--- a/base/setup/lib/muilanguages.h
+++ b/base/setup/lib/muilanguages.h
@@ -509,7 +509,7 @@ const MUI_LANGUAGE MUILanguageList[] =
{L"00001004", L"936", L"936", L"10008",
L"Chinese (Singapore)", L"215", ChineseSimplifiedFonts, zhSGLayouts},
#endif
#ifdef LANGUAGE_ZH_MO
- {L"00001404", L"950", L"950", L"10002",
L"Chinese (Macau S.A.R.)", L"151", ChineseSimplifiedFonts,
zhMOLayouts},
+ {L"00001404", L"950", L"950", L"10002",
L"Chinese (Macau S.A.R.)", L"151", ChineseTraditionalFonts,
zhMOLayouts},
#endif
#ifdef LANGUAGE_HR_HR
{L"0000041A", L"1250", L"852", L"10029",
L"Croatian", L"108", LatinFonts, hrHRLayouts},
diff --git a/dll/cpl/input/input_list.c b/dll/cpl/input/input_list.c
index a4b17361c92..e0a409f5a72 100644
--- a/dll/cpl/input/input_list.c
+++ b/dll/cpl/input/input_list.c
@@ -79,11 +79,11 @@ InputList_SetFontSubstitutes(LCID dwLocaleId)
{
case SUBLANG_CHINESE_SIMPLIFIED:
case SUBLANG_CHINESE_SINGAPORE:
- case SUBLANG_CHINESE_MACAU:
pSubstitutes = ChineseSimplifiedFonts;
break;
case SUBLANG_CHINESE_TRADITIONAL:
case SUBLANG_CHINESE_HONGKONG:
+ case SUBLANG_CHINESE_MACAU:
pSubstitutes = ChineseTraditionalFonts;
break;
default: