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.183 by root, Wed Dec 21 14:19:19 2005 UTC vs.
Revision 1.184 by root, Wed Dec 21 14:23:30 2005 UTC

1478 scr_blank_line (*line, ncol - count, count, tr); 1478 scr_blank_line (*line, ncol - count, count, tr);
1479 1479
1480 if (line->is_longer ()) /* break line continuation */ 1480 if (line->is_longer ()) /* break line continuation */
1481 line->l = ncol; 1481 line->l = ncol;
1482 1482
1483 line->l = max (line->l - count, 0); 1483 max_it (line->l - count, 0);
1484 1484
1485 if (selection.op && current_screen == selection.screen 1485 if (selection.op && current_screen == selection.screen
1486 && ROWCOL_IN_ROW_AT_OR_AFTER (selection.beg, screen.cur)) 1486 && ROWCOL_IN_ROW_AT_OR_AFTER (selection.beg, screen.cur))
1487 { 1487 {
1488 if (selection.end.row != screen.cur.row 1488 if (selection.end.row != screen.cur.row
1763 eheight = height; 1763 eheight = height;
1764 } 1764 }
1765#endif 1765#endif
1766 1766
1767#ifdef DEBUG_STRICT 1767#ifdef DEBUG_STRICT
1768 x = max (x, 0); 1768#if 0
1769 x = min (x, (int)width); 1769 // that's not debugging //TODO //FIXME
1770 y = max (y, 0); 1770 clamp_it (x, 0, width);
1771 y = min (y, (int)height); 1771 clamp_it (y, 0, height);
1772#endif
1772#endif 1773#endif
1773 1774
1774 /* round down */ 1775 /* round down */
1775 rc[PART_BEG].col = Pixel2Col (x); 1776 rc[PART_BEG].col = Pixel2Col (x);
1776 rc[PART_BEG].row = Pixel2Row (y); 1777 rc[PART_BEG].row = Pixel2Row (y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines