Module: wine Branch: master Commit: 6e80d875d49536f5a8a62fd9ddbb8f89a62465af URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e80d875d49536f5a8a62fd9dd...
Author: Francois Gouget fgouget@free.fr Date: Wed Aug 26 10:54:58 2009 +0200
riched20: Make ME_SetCursorToEnd() static.
---
dlls/riched20/caret.c | 2 +- dlls/riched20/editor.h | 1 - 2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index 096d0d5..fdcb924 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -31,7 +31,7 @@ void ME_SetCursorToStart(ME_TextEditor *editor, ME_Cursor *cursor) cursor->nOffset = 0; }
-void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor) +static void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor) { cursor->pPara = editor->pBuffer->pLast->member.para.prev_para; cursor->pRun = ME_FindItemBack(editor->pBuffer->pLast, diRun); diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h index 9b9ab4e..7edd86f 100644 --- a/dlls/riched20/editor.h +++ b/dlls/riched20/editor.h @@ -155,7 +155,6 @@ void ME_SetDefaultCharFormat(ME_TextEditor *editor, CHARFORMAT2W *mod);
/* caret.c */ void ME_SetCursorToStart(ME_TextEditor *editor, ME_Cursor *cursor); -void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor); int ME_SetSelection(ME_TextEditor *editor, int from, int to); void ME_HideCaret(ME_TextEditor *ed); void ME_ShowCaret(ME_TextEditor *ed);