Michael Stefaniuc : riched20: Replace an if-statement with empty body with a FIXME comment.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 7 07:56:28 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: c3f112e52dbecbb2c1785cfbd8491d6f34814a93
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c3f112e52dbecbb2c1785cfbd8491d6f34814a93

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Jul  7 00:29:03 2006 +0200

riched20: Replace an if-statement with empty body with a FIXME comment.

---

 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 057e5d8..da52288 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -765,8 +765,8 @@ void ME_MouseMove(ME_TextEditor *editor,
   y += ME_GetYScrollPos(editor);
 
   tmp_cursor = editor->pCursors[0];
-  if (!ME_FindPixelPos(editor, x, y, &tmp_cursor, &editor->bCaretAtEnd))
-    /* return */;
+  /* FIXME: do something with the return value of ME_FindPixelPos */
+  ME_FindPixelPos(editor, x, y, &tmp_cursor, &editor->bCaretAtEnd);
   
   if (tmp_cursor.pRun == editor->pCursors[0].pRun && 
       tmp_cursor.nOffset == editor->pCursors[0].nOffset)




More information about the wine-cvs mailing list