update_selection: SELECT_OFF check not needed

This commit is contained in:
Daniel Micay 2012-07-09 03:24:44 -04:00
parent 458087627d
commit 46b739c9d6
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void window_title_cb(VteTerminal *vte, GtkWindow *window) {
}
static void update_selection(VteTerminal *vte, select_info *select) {
if (select->mode == SELECT_OFF || select->mode == SELECT_ON) {
if (select->mode == SELECT_ON) {
return; // not in visual mode
}