richedit: Use RTF reader for text starting with {\urtf. (Fixes bug 14281)
Dylan Smith
dylan.ah.smith at gmail.com
Fri Oct 3 03:08:34 CDT 2008
MSDN documented for EM_SETTEXTEX that it will read the text using
the RTF reader if the text starts with "{\rtf" or "{urtf" (sic). The
bug report also mentioned it, and I wrote a test to confirm the
behaviour and fixed the bug.
---
dlls/riched20/editor.c | 10 ++++++----
dlls/riched20/tests/editor.c | 22 ++++++++++++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Use-RTF-reader-for-text-starting-with.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081003/e049cdb6/attachment.txt
More information about the wine-patches
mailing list