RICHED20: single-line control must refuse to insert carriage returns (with tests)
Alex Villacís Lasso
a_villacis at palosanto.com
Thu Oct 18 11:02:09 CDT 2007
This fixes a regression experienced by BabasChess
(http://bugs.winehq.org/show_bug.cgi?id=10043). Detailed explanation
posted at bug report.
Changelog:
* When in single-line mode, WM_CHAR messages should ignore VK_RETURN and
refuse to insert a carriage return inside the text of the richedit control.
* Test for fixed behavior.
--
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-riched20-WM_CHAR-singleline-ignore-cr.patch
Type: text/x-patch
Size: 2993 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071018/9d611c7c/attachment.bin
More information about the wine-patches
mailing list