Dylan Smith : richedit: Removed incorrect FIXME comment.

Alexandre Julliard julliard at winehq.org
Fri Feb 6 09:56:05 CST 2009


Module: wine
Branch: master
Commit: 5a84e193c2558a9ac6ab1a24d984f6da275b4e6f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5a84e193c2558a9ac6ab1a24d984f6da275b4e6f

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Fri Feb  6 01:10:00 2009 -0500

richedit: Removed incorrect FIXME comment.

The fixme comment is suggesting wrapping a paragraph within a function
that is for moving the selection cursor up or down a line when the up
or down keys are pressed.  The contents fo paragraph aren't being
changed, so there is no need to wrap the paragraph.

---

 dlls/riched20/caret.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 0e42f10..46e16d4 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -1266,8 +1266,6 @@ ME_MoveCursorLines(ME_TextEditor *editor, ME_Cursor *pCursor, int nRelOfs)
     pItem = ME_FindItemFwd(pRun, diStartRow);
     if (!pItem)
       return; /* row not found - ignore */
-    /* FIXME If diParagraph is before diStartRow, wrap the next paragraph?
-    */
     pNewPara = ME_GetParagraph(pItem);
     if (pOldPara->member.para.nFlags & MEPF_ROWSTART ||
         (pOldPara->member.para.pCell &&




More information about the wine-cvs mailing list