repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 95b78e9eebc2ebd9789f666c1a1b1e1729e256db: path_to: revision_to:
commit 95b78e9eebc2ebd9789f666c1a1b1e1729e256db Author: Emanuele GiaquintaDate: Tue Jan 4 23:06:10 2011 +0000 Simplify. diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C
+++ b/src/screen.C
@@ -3043,7 +3043,7 @@ rxvt_term::selection_make (Time tm)
if (selection.rect)
{
col = selection.beg.col;
- end_col = ncol + 1;
+ end_col = selection.end.col;
}
else
#endif
@@ -3051,11 +3051,7 @@ rxvt_term::selection_make (Time tm)
col = max (col, 0);
- if (row == selection.end.row
-#if !ENABLE_MINIMAL
- || selection.rect
-#endif
- )
+ if (row == selection.end.row)
min_it (end_col, selection.end.col);
t = ROW(row).t + col;
-----END OF PAGE-----