RICHED20: 2.0 and higher inserts CRCRLF as space (with tests)

Alex Villacís Lasso a_villacis at palosanto.com
Sat Oct 20 20:23:27 CDT 2007


While chasing the underlying cause of bug #5968, I found that native riched20
(when NOT emulating version 1.0) treats the sequence \r\r\n as special, in
that it converts the sequence into a single space. Although the attached
patch now tests for this behavior, this is NOT a fix for the bug.

Changelog:
* Rich Edit 2.x and higher converts the special sequence \r\r\n into a single
  space. Test included for EM_REPLACESEL, EM_SETTEXTEX, WM_SETTEXT.
* EM_REPLACESEL returns number of characters processed, not 0. Required for
  \r\r\n tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-riched20-CRCRLF-sequence.patch
Type: text/x-patch
Size: 19061 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071020/af9b535d/attachment-0001.bin 


More information about the wine-patches mailing list