Fix selection invalidation. Oops!
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 3 May 2010 07:21:59 +0000 (03:21 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 3 May 2010 08:28:46 +0000 (04:28 -0400)
src/vte.c

index cda4ae8..aaa06c9 100644 (file)
--- a/src/vte.c
+++ b/src/vte.c
@@ -13986,8 +13986,8 @@ _vte_terminal_select_text(VteTerminal *terminal,
        vte_terminal_emit_selection_changed(terminal);
 
        _vte_invalidate_region (terminal,
-                       MIN (start_col, start_row), MAX (start_col, start_row),
-                       MIN (start_row, end_row),   MAX (start_row, end_row),
+                       MIN (start_col, end_col), MAX (start_col, end_col),
+                       MIN (start_row, end_row), MAX (start_row, end_row),
                        FALSE);
 
 }