[7/44] richedit: Fixed the forward word movement bug.

Dylan Smith dylan.ah.smith at gmail.com
Tue Jun 17 20:18:42 CDT 2008


Using Ctrl-RightArrow to move to the start of the next word did not
previously work when at the start of a word.  This means that
Ctrl-RightArrow would not work twice in a row since it should move to
the start of the next word.  This commit fixes this bug.

A test was also added to prevent a regression and show that the
behavior is now consistent
with native Windows.
---
 dlls/riched20/string.c       |   16 ++-------
 dlls/riched20/tests/editor.c |   72 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-richedit-Fixed-the-forward-word-movement-bug.diff
Type: text/x-diff
Size: 4207 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/4e43e85c/attachment-0001.diff 


More information about the wine-patches mailing list