Suppress the box->space spaces after BRs in copied/saved text selections.

svn path=/trunk/netsurf/; revision=4066
This commit is contained in:
Michael Drake 2008-03-31 21:52:12 +00:00
parent 421be3633e
commit 13b1c0d379
1 changed files with 2 additions and 1 deletions

View File

@ -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 */ 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 start_offset;
unsigned end_offset; unsigned end_offset;