summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c4
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);