riched20: Make ME_SetCursorToEnd() static.
Francois Gouget
fgouget at free.fr
Wed Aug 26 03:54:58 CDT 2009
---
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);
--
1.6.3.3
More information about the wine-patches
mailing list