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 9883 by zmatsuo, Fri Apr 22 15:37:48 2022 UTC revision 9913 by zmatsuo, Sun May 8 13:25:16 2022 UTC
# Line 643  CVisualPropPageDlg::~CVisualPropPageDlg( Line 643  CVisualPropPageDlg::~CVisualPropPageDlg(
643    
644  void CVisualPropPageDlg::OnInitDialog()  void CVisualPropPageDlg::OnInitDialog()
645  {  {
         char buf[MAXPATHLEN];  
   
646          TTCPropertyPage::OnInitDialog();          TTCPropertyPage::OnInitDialog();
647    
648          static const DlgTextInfo TextInfos[] = {          static const DlgTextInfo TextInfos[] = {
# Line 702  void CVisualPropPageDlg::OnInitDialog() Line 700  void CVisualPropPageDlg::OnInitDialog()
700          // Eterm look-feelの背景画像指定。          // Eterm look-feelの背景画像指定。
701          SetDlgItemTextA(IDC_BGIMG_EDIT, ts.BGImageFilePath);          SetDlgItemTextA(IDC_BGIMG_EDIT, ts.BGImageFilePath);
702    
         _snprintf_s(buf, sizeof(buf), _TRUNCATE, "%d", ts.BGImgBrightness);  
703          SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, ts.BGImgBrightness);          SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, ts.BGImgBrightness);
704    
705          // BGEnable関係なく、チェックボックスを付ける。          // BGEnable関係なく、チェックボックスを付ける。
# Line 776  void CVisualPropPageDlg::OnInitDialog() Line 773  void CVisualPropPageDlg::OnInitDialog()
773    
774          // (5)ANSI color          // (5)ANSI color
775          for (int i = 0 ; i < 16 ; i++) {          for (int i = 0 ; i < 16 ; i++) {
776                    char buf[4];
777                  _snprintf_s(buf, sizeof(buf), _TRUNCATE, "%d", i);                  _snprintf_s(buf, sizeof(buf), _TRUNCATE, "%d", i);
778                  SendDlgItemMessageA(IDC_ANSI_COLOR, LB_INSERTSTRING, i, (LPARAM)buf);                  SendDlgItemMessageA(IDC_ANSI_COLOR, LB_INSERTSTRING, i, (LPARAM)buf);
779          }          }

Legend:
Removed from v.9883  
changed lines
  Added in v.9913

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