riched20: Added a comment to make life easier
Phil Krylov
phil at newstar.rinet.ru
Fri Feb 24 06:49:05 CST 2006
ChangeLog:
riched20: Added a comment to make life easier
---
dlls/riched20/editor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
ab18e6e0c6928ad59250787ea4ab322cb3ed7c8b
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index ef71ff8..086f970 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -889,6 +889,8 @@ ME_FindText(ME_TextEditor *editor, DWORD
if (nCurEnd - nMatched == 0)
{
pCurItem = ME_FindItemBack(pCurItem, diRun);
+ /* Don't care about pCurItem becoming NULL here; it's already taken
+ * care of in the exterior loop condition */
para = ME_GetParagraph(pCurItem);
nCurEnd = ME_StrLen(pCurItem->member.run.strText) + nMatched;
}
--
1.1.6
More information about the wine-patches
mailing list