diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-23 09:02:19 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-23 09:02:19 +0000 |
commit | ce4935574b8b5aa252663488cc1c237658ea8f3c (patch) | |
tree | e27118be9b8ed3fe8686ebb7c3318127c250c53c | |
parent | 1375bfe7189dc1a316ebee510175baf48fcee0cd (diff) |
Minor.
-rw-r--r-- | src/vte.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4316,15 +4316,16 @@ vte_cell_is_selected(VteTerminal *terminal, glong col, glong row, gpointer data) return FALSE; } - /* Now it boils down to whether or not the point is between the - * begin and endpoint of the selection. */ - ret = vte_cell_is_between(col, row, ss.x, ss.y, se.x, se.y, TRUE); - /* Limit selection to block mode. */ + /* Limit selection in block mode. */ if (ret && terminal->pvt->block_mode) { if (col < ss.x || col > se.x) { return FALSE; } } + + /* Now it boils down to whether or not the point is between the + * begin and endpoint of the selection. */ + ret = vte_cell_is_between(col, row, ss.x, ss.y, se.x, se.y, TRUE); return ret; } |