richedit: Fixed check for nOffset at the end of the cursor's run.
commita8e58307f91aa4515cf0d4bebb2d875b95e22bc8
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 15 Aug 2009 02:23:13 +0000 (14 22:23 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 Aug 2009 11:57:50 +0000 (17 13:57 +0200)
tree5589f15c466ff41054949f0d663f86dc77b8e2bb
parentad1d8adfeb57c8fd59b6088ad3880a4ad7b18995
richedit: Fixed check for nOffset at the end of the cursor's run.

For some reason the code previously mixed up a selection cursor with the
result cursor.  The problem seemed to have corrected itself before as a
result of conversion between offsets and cursors, but my recent changes
made this bug more severe.
dlls/riched20/caret.c