diff options
author | Christian Persch <chpe@gnome.org> | 2016-01-14 13:34:59 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2016-01-17 13:39:28 +0100 |
commit | 6c58c04c2212d5d34eaf92f1d8adef15af2b59e9 (patch) | |
tree | ec910979ade767a44aa52412ad8a4faa39ac60eb | |
parent | c685b18ac8ff4daa039975c7185bf2c660d18604 (diff) | |
download | vte-6c58c04c2212d5d34eaf92f1d8adef15af2b59e9.tar.gz |
widget: Fix missing braces0.42.3
Tracking the selection also only makes sense on the active screen,
so add the braces as the indentation already suggests.
Thanks, -Wmisleading-indentation !
-rw-r--r-- | src/vte.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8075,7 +8075,7 @@ vte_terminal_screen_set_size(VteTerminal *terminal, VteScreen *screen, glong old markers[0] = &cursor_saved_absolute; markers[1] = &below_viewport; markers[2] = &below_current_paragraph; - if (screen == terminal->pvt->screen) + if (screen == terminal->pvt->screen) { /* Tracking the current cursor only makes sense on the active screen. */ markers[3] = &terminal->pvt->cursor; if (terminal->pvt->has_selection) { @@ -8083,6 +8083,7 @@ vte_terminal_screen_set_size(VteTerminal *terminal, VteScreen *screen, glong old terminal->pvt->selection_end.col++; markers[4] = &terminal->pvt->selection_start; markers[5] = &terminal->pvt->selection_end; + } } old_top_lines = below_current_paragraph.row - screen->insert_delta; |