… | |
… | |
2130 | |
2130 | |
2131 | if (len != -1) |
2131 | if (len != -1) |
2132 | { |
2132 | { |
2133 | /* also comes here at end if needed because of >= above */ |
2133 | /* also comes here at end if needed because of >= above */ |
2134 | if (wlen < len) |
2134 | if (wlen < len) |
2135 | SWAP_IT (wlen, len, int); |
2135 | ::swap (wlen, len); |
2136 | |
2136 | |
2137 | XCopyArea (display->display, vt, vt, |
2137 | XCopyArea (display->display, vt, vt, |
2138 | gc, 0, Row2Pixel (len + i), |
2138 | gc, 0, Row2Pixel (len + i), |
2139 | (unsigned int)TermWin_TotalWidth (), |
2139 | (unsigned int)TermWin_TotalWidth (), |
2140 | (unsigned int)Height2Pixel (wlen - len + 1), |
2140 | (unsigned int)Height2Pixel (wlen - len + 1), |
… | |
… | |
2272 | fore = Color_UL; |
2272 | fore = Color_UL; |
2273 | #endif |
2273 | #endif |
2274 | |
2274 | |
2275 | if (invert) |
2275 | if (invert) |
2276 | { |
2276 | { |
2277 | SWAP_IT (fore, back, int); |
2277 | ::swap (fore, back); |
2278 | |
2278 | |
2279 | #ifndef NO_BOLD_UNDERLINE_REVERSE |
2279 | #ifndef NO_BOLD_UNDERLINE_REVERSE |
2280 | if (ISSET_PIXCOLOR (Color_RV)) |
2280 | if (ISSET_PIXCOLOR (Color_RV)) |
2281 | back = Color_RV; |
2281 | back = Color_RV; |
2282 | |
2282 | |
… | |
… | |
3364 | } |
3364 | } |
3365 | } |
3365 | } |
3366 | |
3366 | |
3367 | #if ENABLE_FRILLS |
3367 | #if ENABLE_FRILLS |
3368 | if (selection.rect && selection.beg.col > selection.end.col) |
3368 | if (selection.rect && selection.beg.col > selection.end.col) |
3369 | SWAP_IT (selection.beg.col, selection.end.col, int); |
3369 | ::swap (selection.beg.col, selection.end.col); |
3370 | #endif |
3370 | #endif |
3371 | } |
3371 | } |
3372 | |
3372 | |
3373 | #if ENABLE_FRILLS |
3373 | #if ENABLE_FRILLS |
3374 | void |
3374 | void |