Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit d759db4

Browse files
Fix placing RTF data on the clipboard
A copy-and-paste error in the code resulted in it being treated as HTML instead of RTF.
1 parent 2b4b442 commit d759db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/clipboard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ bool MCClipboard::AddRTFText(MCDataRef p_rtf_data)
425425
// format.
426426
//
427427
// This is a lossy process but preserves legacy behaviour.
428-
MCAutoDataRef t_pickled_text(ConvertHTMLToStyledText(p_rtf_data));
428+
MCAutoDataRef t_pickled_text(ConvertRTFToStyledText(p_rtf_data));
429429
if (*t_pickled_text == NULL)
430430
return false;
431431

0 commit comments

Comments
 (0)