update_selection doesn't modify select_info

This commit is contained in:
Daniel Micay 2012-07-09 16:07:08 -04:00
parent 46b739c9d6
commit d9a2e7e42a
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ void window_title_cb(VteTerminal *vte, GtkWindow *window) {
gtk_window_set_title(window, t ? t : "termite"); gtk_window_set_title(window, t ? t : "termite");
} }
static void update_selection(VteTerminal *vte, select_info *select) { static void update_selection(VteTerminal *vte, const select_info *select) {
if (select->mode == SELECT_ON) { if (select->mode == SELECT_ON) {
return; // not in visual mode return; // not in visual mode
} }