Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/addsetting.cpp
Parent Directory
| Revision Log
| Patch
| 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) |
| 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 |
|
|
|