Set Message_DataRequest length correctly.

This commit is contained in:
Steve Fryatt 2013-02-24 23:58:02 +00:00
parent bbd46de011
commit 3c373994f9

View File

@ -328,7 +328,7 @@ void ro_gui_selection_prepare_paste(wimp_w w,
ro_gui_discard_clipboard_contents(); ro_gui_discard_clipboard_contents();
msg.size = sizeof(msg); msg.size = 48; /* There's only one filetype listed. */
msg.your_ref = 0; msg.your_ref = 0;
msg.action = message_DATA_REQUEST; msg.action = message_DATA_REQUEST;
msg.w = w; msg.w = w;