diff options
Diffstat (limited to 'desktop/selection.c')
-rw-r--r-- | desktop/selection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index 34478a4b9..af72870bb 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -514,7 +514,8 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx, } box_length = box->length + box->space; /* include trailing space */ - if (num_space == NUMBER_SPACE(box->byte_offset)) { + if (num_space == NUMBER_SPACE(box->byte_offset) && + box->type != BOX_BR) { unsigned start_offset; unsigned end_offset; |