From 3c373994f96914d0aec364c8954af857d3719bab Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 24 Feb 2013 23:58:02 +0000 Subject: Set Message_DataRequest length correctly. --- riscos/textselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscos/textselection.c b/riscos/textselection.c index 7e248938e..579936bbd 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -328,7 +328,7 @@ void ro_gui_selection_prepare_paste(wimp_w w, ro_gui_discard_clipboard_contents(); - msg.size = sizeof(msg); + msg.size = 48; /* There's only one filetype listed. */ msg.your_ref = 0; msg.action = message_DATA_REQUEST; msg.w = w; -- cgit v1.2.3