*** empty log message ***
authorroot <root>
Wed, 21 Dec 2005 10:34:35 +0000 (10:34 +0000)
committerroot <root>
Wed, 21 Dec 2005 10:34:35 +0000 (10:34 +0000)
src/screen.C

index b1458bcca73fd5436f4ee6b0f526ece5615ef875..76cd39d944626b4c7ff25b72c426b1de0e6c171f 100644 (file)
@@ -2132,7 +2132,7 @@ rxvt_term::scr_refresh (unsigned char refresh_type)
             {
               /* also comes here at end if needed because of >= above */
               if (wlen < len)
-                ::swap (wlen, len);
+                SWAP_IT (wlen, len, int);
 
               XCopyArea (display->display, vt, vt,
                          gc, 0, Row2Pixel (len + i),
@@ -2274,7 +2274,7 @@ rxvt_term::scr_refresh (unsigned char refresh_type)
 
               if (invert)
                 {
-                  ::swap (fore, back);
+                  SWAP_IT (fore, back, int);
 
 #ifndef NO_BOLD_UNDERLINE_REVERSE
                   if (ISSET_PIXCOLOR (Color_RV))
@@ -3366,7 +3366,7 @@ rxvt_term::selection_extend_colrow (int32_t col, int32_t row, int button3, int b
 
 #if ENABLE_FRILLS
   if (selection.rect && selection.beg.col > selection.end.col)
-    ::swap (selection.beg.col, selection.end.col);
+    SWAP_IT (selection.beg.col, selection.end.col, int);
 #endif
 }