From d106091d6e5df26a83460ae484c31753b873368c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 13 Aug 2012 14:43:04 +0100 Subject: Pass font plot style out to front end clipboard append function. --- riscos/textselection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'riscos/textselection.c') 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); -- cgit v1.2.3