Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/addsetting.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10518 by zmatsuo, Wed Jan 18 14:46:34 2023 UTC revision 10661 by zmatsuo, Tue Apr 4 13:28:09 2023 UTC
# Line 893  void CVisualPropPageDlg::OnInitDialog() Line 893  void CVisualPropPageDlg::OnInitDialog()
893                  }                  }
894          }          }
895    
896          SetCheck(IDC_THEME_ENABLE, ThemeGetEnable() ? BST_CHECKED : BST_UNCHECKED);          SetCheck(IDC_THEME_ENABLE, ThemeIsEnabled() ? BST_CHECKED : BST_UNCHECKED);
897    
898          SetDlgItemTextW(IDC_SPIPATH_EDIT, ts.EtermLookfeel.BGSPIPathW);          SetDlgItemTextW(IDC_SPIPATH_EDIT, ts.EtermLookfeel.BGSPIPathW);
899    
# Line 1331  void CVisualPropPageDlg::OnOK() Line 1331  void CVisualPropPageDlg::OnOK()
1331                  }                  }
1332          }          }
1333    
1334          if ((GetCheck(IDC_THEME_ENABLE) == BST_CHECKED) && ThemeGetEnable() == FALSE) {          if ((GetCheck(IDC_THEME_ENABLE) == BST_CHECKED) && ThemeIsEnabled() == FALSE) {
1335                  // テーマをenableにする                  // テーマをenableにする
1336                  ThemeSetEnable(TRUE);                  ThemeEnable(TRUE);
1337          }          }
1338          else if ((GetCheck(IDC_THEME_ENABLE) == BST_UNCHECKED) && ThemeGetEnable() == TRUE) {          else if ((GetCheck(IDC_THEME_ENABLE) == BST_UNCHECKED) && ThemeIsEnabled() == TRUE) {
1339                  // テーマをdisableにする                  // テーマをdisableにする
1340                  ThemeSetEnable(FALSE);                  ThemeEnable(FALSE);
1341          }          }
1342    
1343          wchar_t *spi_path;          wchar_t *spi_path;

Legend:
Removed from v.10518  
changed lines
  Added in v.10661

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26