diff options
Diffstat (limited to 'desktop/selection.c')
-rw-r--r-- | desktop/selection.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index 9dd58ce4f..4d675cc0c 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -549,7 +549,10 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx, whitespace_text = NULL; } if (num_space == NUMBER_SPACE(box->byte_offset) && - box->type != BOX_BR) { + box->type != BOX_BR && + !((box->type == BOX_FLOAT_LEFT || + box->type == BOX_FLOAT_RIGHT) && + !box->text)) { unsigned start_offset; unsigned end_offset; |