summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index be6eb0227..55b81b053 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -2001,7 +2001,7 @@ struct box *textarea_insert_break(struct browser_window *bw,
box_insert_sibling(text_box, new_br);
memcpy(new_text, text_box, sizeof (struct box));
- new_text->clone = 1;
+ new_text->flags |= CLONE;
new_text->text = text;
memcpy(new_text->text, text_box->text + char_offset,
text_box->length - char_offset);