--- rxvt-unicode/src/screen.C 2011/11/15 18:20:38 1.401 +++ rxvt-unicode/src/screen.C 2011/11/15 19:54:30 1.403 @@ -685,7 +685,7 @@ // move and/or clear selection, if any if (selection.op && current_screen == selection.screen - && selection.beg.row < row2) + && selection.beg.row <= row2) { selection.beg.row -= count; selection.end.row -= count; @@ -777,7 +777,7 @@ if (len <= 0) /* sanity */ return; - unsigned char checksel; + bool checksel; unicode_t c; int ncol = this->ncol; const wchar_t *strend = str + len; @@ -2060,13 +2060,13 @@ scr_swap_overlay (); #endif - char showcursor = screen.flags & Screen_VisibleCursor; + bool showcursor = screen.flags & Screen_VisibleCursor; /* * C: set the cursor character (s) */ { - unsigned char setoldcursor; + bool setoldcursor; #ifdef CURSOR_BLINK if (hidden_cursor)