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 /riscos/textselection.c | |
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 'riscos/textselection.c')
-rw-r--r-- | riscos/textselection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/textselection.c b/riscos/textselection.c index 06224a5e8..c5a42b548 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -229,10 +229,12 @@ void gui_clear_selection(struct gui_window *g) * \param text text to be added * \param length length of text in bytes * \param space indicates whether a trailing space should be appended also + * \param fstyle font plot style for text * \return true iff successful */ -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) { size_t new_length = clip_length + length + (space ? 1 : 0); |