diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-13 14:43:04 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-13 14:43:04 +0100 |
commit | d106091d6e5df26a83460ae484c31753b873368c (patch) | |
tree | 4312298dd2dd118c611c6ff5e0a144c7a0b0aa35 /beos | |
parent | 68947c377ed358db310b32ee241db375e0b51de4 (diff) | |
download | netsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.gz netsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.bz2 |
Pass font plot style out to front end clipboard append function.
Diffstat (limited to 'beos')
-rw-r--r-- | beos/window.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/beos/window.cpp b/beos/window.cpp index d62aecf33..572aa86dd 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -1668,7 +1668,8 @@ bool gui_empty_clipboard(void) return true; } -bool gui_add_to_clipboard(const char *text, size_t length, bool space) +bool gui_add_to_clipboard(const char *text, size_t length, bool space, + const plot_font_style_t *fstyle) { BString s; s.SetTo(text, length); @@ -1720,7 +1721,8 @@ static bool copy_handler(const char *text, size_t length, struct box *box, /* add any whitespace which precedes the text from this box */ if (whitespace_text) { if (!gui_add_to_clipboard(whitespace_text, - whitespace_length, false)) { + whitespace_length, false, + plot_style_font)) { return false; } } @@ -1740,7 +1742,7 @@ static bool copy_handler(const char *text, size_t length, struct box *box, } /* add the text from this box */ - if (!gui_add_to_clipboard(text, length, space)) + if (!gui_add_to_clipboard(text, length, space, plot_style_font)) return false; return true; |