[1/6] richedit: Made sure word selection selects only one word

Dylan Smith dylan.ah.smith at gmail.com
Sat Jul 5 03:23:47 CDT 2008

Previously word selection words would select two words intead of one on
double click. This can be easily tested by opening wordpad, typing in
two words, then double clicking at the cursor position just before the
second word.

For example, double click here:
one two

This patch fixes the problem by finding the end of the word, then
finding the start of the word from the end of the word.  Previously it
would move a word in both directions from the cursor position, which
would select two words when the cursor is between them.
 dlls/riched20/caret.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Made-sure-word-selection-selects-only-o.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080705/5c5c600b/attachment.txt 

More information about the wine-patches mailing list