diff --git a/ChewingPreferences/ChewingPreferences.rc b/ChewingPreferences/ChewingPreferences.rc index a4991e0..ec2b0d3 100644 Binary files a/ChewingPreferences/ChewingPreferences.rc and b/ChewingPreferences/ChewingPreferences.rc differ diff --git a/ChewingPreferences/KeyboardPropertyPage.cpp b/ChewingPreferences/KeyboardPropertyPage.cpp index 4d21c64..8e7f3a0 100644 --- a/ChewingPreferences/KeyboardPropertyPage.cpp +++ b/ChewingPreferences/KeyboardPropertyPage.cpp @@ -34,13 +34,13 @@ KeyboardPropertyPage::~KeyboardPropertyPage(void) { // virtual bool KeyboardPropertyPage::onInitDialog() { - CheckRadioButton(hwnd_, IDC_KB1, IDC_KB11, IDC_KB1 + config_->keyboardLayout); + CheckRadioButton(hwnd_, IDC_KB1, IDC_KB15, IDC_KB1 + config_->keyboardLayout); return PropertyPage::onInitDialog(); } // virtual void KeyboardPropertyPage::onOK() { - for(UINT id = IDC_KB1; id <= IDC_KB11; ++id) { + for(UINT id = IDC_KB1; id <= IDC_KB15; ++id) { if(IsDlgButtonChecked(hwnd_, id)) { config_->keyboardLayout = (id - IDC_KB1); break; diff --git a/ChewingPreferences/resource.h b/ChewingPreferences/resource.h index 708947b..2ccd0c1 100644 Binary files a/ChewingPreferences/resource.h and b/ChewingPreferences/resource.h differ