ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.180 by root, Wed Dec 21 10:34:24 2005 UTC vs.
Revision 1.182 by root, Wed Dec 21 10:35:47 2005 UTC

1617 XGCValues gcvalue; 1617 XGCValues gcvalue;
1618 1618
1619 if (rvideo != mode) 1619 if (rvideo != mode)
1620 { 1620 {
1621 rvideo = mode; 1621 rvideo = mode;
1622 SWAP_IT (pix_colors[Color_fg], pix_colors[Color_bg], rxvt_color); 1622 ::swap (pix_colors[Color_fg], pix_colors[Color_bg]);
1623#if XPM_BACKGROUND 1623#if XPM_BACKGROUND
1624 if (bgPixmap.pixmap == None) 1624 if (bgPixmap.pixmap == None)
1625#endif 1625#endif
1626#if TRANSPARENT 1626#if TRANSPARENT
1627 if (! (options & Opt_transparent) || am_transparent == 0) 1627 if (! (options & Opt_transparent) || am_transparent == 0)
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
3374void 3374void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines