riched20: Make ME_SetCursorToEnd() static.

This commit is contained in:
Francois Gouget 2009-08-26 10:54:58 +02:00 committed by Alexandre Julliard
parent 798af6fe27
commit 6e80d875d4
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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);