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.443 by sf-exg, Sun Mar 31 22:31:45 2013 UTC vs.
Revision 1.444 by sf-exg, Tue Apr 2 21:03:35 2013 UTC

2678 2678
2679void 2679void
2680rxvt_term::selection_changed () NOTHROW 2680rxvt_term::selection_changed () NOTHROW
2681{ 2681{
2682 line_t &r1 = ROW (selection.beg.row); 2682 line_t &r1 = ROW (selection.beg.row);
2683 while (selection.beg.col > 0 && r1.t [selection.beg.col] == NOCHAR) 2683 while (selection.beg.col < r1.l && r1.t [selection.beg.col] == NOCHAR)
2684 --selection.beg.col; 2684 ++selection.beg.col;
2685 2685
2686 line_t &r2 = ROW (selection.end.row); 2686 line_t &r2 = ROW (selection.end.row);
2687 while (selection.end.col < r2.l && r2.t [selection.end.col] == NOCHAR) 2687 while (selection.end.col < r2.l && r2.t [selection.end.col] == NOCHAR)
2688 ++selection.end.col; 2688 ++selection.end.col;
2689 2689

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines