Huw Davies : riched20: Only retrieve the next row.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 14:33:48 CST 2013
Module: wine
Branch: master
Commit: 87163410e5d48aba93909b85a26eb221c9c51776
URL: http://source.winehq.org/git/wine.git/?a=commit;h=87163410e5d48aba93909b85a26eb221c9c51776
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Feb 25 12:59:26 2013 +0000
riched20: Only retrieve the next row.
---
dlls/riched20/caret.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 5556c8e..34205c2 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -930,8 +930,8 @@ static BOOL ME_FindPixelPos(ME_TextEditor *editor, int x, int y,
p = ME_FindItemFwd(p, diRun);
break;
}
- pp = ME_FindItemFwd(p, diStartRowOrParagraphOrEnd);
- if (pp->type != diStartRow)
+ pp = ME_FindItemFwd(p, diStartRow);
+ if (!pp)
{
p = ME_FindItemFwd(p, diRun);
break;
More information about the wine-cvs
mailing list