richedit: Support ascii RTF in WM_SETTEXT even for unicode messages.
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 11 Jul 2009 03:54:34 +0000 (23:54 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Jul 2009 08:48:01 +0000 (10:48 +0200)
commit88c2b90aa63b3a893f6edc0ffb4f652889a02c39
tree36635f1f7941602ca2dfeb962bb7c467d96a07a7
parente5c614e6b144c06bc1950dc45f75d8bf5fdfb036
richedit: Support ascii RTF in WM_SETTEXT even for unicode messages.

WM_SETTEXT seems to check for {\rtf or {\urtf to determine if it is an
ascii RTF string, even if it is a unicode message.  So I removed the
check to see if it is a unicode message, and added a check for {\urtf.
dlls/riched20/editor.c