From d9a2e7e42a35a406bb55e35d8c40c27f59d0072e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 9 Jul 2012 16:07:08 -0400 Subject: [PATCH] update_selection doesn't modify select_info --- termite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.c b/termite.c index 3708388..5f62d13 100644 --- a/termite.c +++ b/termite.c @@ -79,7 +79,7 @@ void window_title_cb(VteTerminal *vte, GtkWindow *window) { 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) { return; // not in visual mode }