summaryrefslogtreecommitdiff
path: root/desktop/selection.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-13 14:43:04 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-13 14:43:04 +0100
commitd106091d6e5df26a83460ae484c31753b873368c (patch)
tree4312298dd2dd118c611c6ff5e0a144c7a0b0aa35 /desktop/selection.c
parent68947c377ed358db310b32ee241db375e0b51de4 (diff)
downloadnetsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.gz
netsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.bz2
Pass font plot style out to front end clipboard append function.
Diffstat (limited to 'desktop/selection.c')
-rw-r--r--desktop/selection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/selection.c b/desktop/selection.c
index 436117a89..00984d9b1 100644
--- a/desktop/selection.c
+++ b/desktop/selection.c
@@ -753,7 +753,7 @@ static bool selection_copy_handler(const char *text, size_t length,
/* add any whitespace which precedes the text from this box */
if (whitespace_text != NULL && whitespace_length > 0) {
if (!gui_add_to_clipboard(whitespace_text,
- whitespace_length, false)) {
+ whitespace_length, false, &style)) {
return false;
}
}
@@ -772,7 +772,7 @@ static bool selection_copy_handler(const char *text, size_t length,
}
/* add the text from this box */
- if (!gui_add_to_clipboard(text, length, add_space))
+ if (!gui_add_to_clipboard(text, length, add_space, &style))
return false;
return true;