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 10291 by zmatsuo, Sat Oct 1 04:11:49 2022 UTC revision 10292 by zmatsuo, Sat Oct 1 04:11:59 2022 UTC
# Line 920  BOOL CVisualPropPageDlg::OnCommand(WPARA Line 920  BOOL CVisualPropPageDlg::OnCommand(WPARA
920                          return TRUE;                          return TRUE;
921                  }                  }
922    
                 case IDC_EDIT_BGIMG_BRIGHTNESS | (EN_CHANGE << 16) :  
                         {  
                                 int b;  
   
                                 b = GetDlgItemInt(IDC_EDIT_BGIMG_BRIGHTNESS);  
                                 if (b < 0) {  
                                         b = 0;  
                                         SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, b);  
                                 }  
                                 else if (b > 255) {  
                                         b = 255;  
                                         SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, b);  
                                 }  
                         }  
                         return TRUE;  
   
923                  case IDC_ANSI_COLOR | (LBN_SELCHANGE << 16):                  case IDC_ANSI_COLOR | (LBN_SELCHANGE << 16):
924                          sel = SendDlgItemMessage(IDC_ANSI_COLOR, LB_GETCURSEL, 0, 0);                          sel = SendDlgItemMessage(IDC_ANSI_COLOR, LB_GETCURSEL, 0, 0);
925                          if (sel != -1) {                          if (sel != -1) {

Legend:
Removed from v.10291  
changed lines
  Added in v.10292

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