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 10191 by zmatsuo, Wed Aug 24 14:03:59 2022 UTC revision 10192 by zmatsuo, Fri Aug 26 14:29:24 2022 UTC
# Line 1049  void CVisualPropPageDlg::OnOK() Line 1049  void CVisualPropPageDlg::OnOK()
1049  {  {
1050          int sel;          int sel;
1051          char buf[MAXPATHLEN];          char buf[MAXPATHLEN];
         COLORREF TmpColor;  
1052          int flag_changed = 0;          int flag_changed = 0;
1053    
1054          // (1)          // (1)
# Line 1139  void CVisualPropPageDlg::OnOK() Line 1138  void CVisualPropPageDlg::OnOK()
1138          }          }
1139    
1140          // (8) Attr Reverse Color          // (8) Attr Reverse Color
1141          if (ts.ColorFlag & CF_REVERSEVIDEO) { // Reverse Videoモード(DECSCNM)時は処理を変える          if (((ts.ColorFlag & CF_REVERSECOLOR) != 0) != GetCheck(IDC_ENABLE_ATTR_COLOR_REVERSE)) {
                 if (ts.ColorFlag & CF_REVERSECOLOR) {  
                         if (!GetCheck(IDC_ENABLE_ATTR_COLOR_REVERSE)) {  
                                 TmpColor = ts.VTColor[0];  
                                 ts.VTColor[0] = ts.VTReverseColor[1];  
                                 ts.VTReverseColor[1] = ts.VTColor[1];  
                                 ts.VTColor[1] = ts.VTReverseColor[0];  
                                 ts.VTReverseColor[0] = TmpColor;  
                                 ts.ColorFlag ^= CF_REVERSECOLOR;  
                         }  
                 }  
                 else if (GetCheck(IDC_ENABLE_ATTR_COLOR_REVERSE)) {  
                         TmpColor = ts.VTColor[0];  
                         ts.VTColor[0] = ts.VTReverseColor[0];  
                         ts.VTReverseColor[0] = ts.VTColor[1];  
                         ts.VTColor[1] = ts.VTReverseColor[1];  
                         ts.VTReverseColor[1] = TmpColor;  
                         ts.ColorFlag ^= CF_REVERSECOLOR;  
                 }  
         }  
         else if (((ts.ColorFlag & CF_REVERSECOLOR) != 0) != GetCheck(IDC_ENABLE_ATTR_COLOR_REVERSE)) {  
1142                  ts.ColorFlag ^= CF_REVERSECOLOR;                  ts.ColorFlag ^= CF_REVERSECOLOR;
1143          }          }
1144    

Legend:
Removed from v.10191  
changed lines
  Added in v.10192

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