Huw Davies : riched20: Remove unused ME_RowStart().
Alexandre Julliard
julliard at winehq.org
Tue Nov 3 15:55:53 CST 2020
Module: wine
Branch: master
Commit: 410dceb939d3b01fd80651578fcad291cb6cb43a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=410dceb939d3b01fd80651578fcad291cb6cb43a
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Nov 3 08:44:42 2020 +0000
riched20: Remove unused ME_RowStart().
Its functionality has been replaced with row_from_cursor().
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/riched20/editor.h | 2 --
dlls/riched20/row.c | 4 ----
2 files changed, 6 deletions(-)
diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index d0d34ac5afc..e5d580846d0 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -118,8 +118,6 @@ ME_Row *row_from_cursor( ME_Cursor *cursor ) DECLSPEC_HIDDEN;
ME_Row *row_from_row_number( ME_TextEditor *editor, int row_num ) DECLSPEC_HIDDEN;
ME_Row *row_next( ME_Row *row ) DECLSPEC_HIDDEN;
ME_Run *row_next_run( ME_Row *row, ME_Run *run ) DECLSPEC_HIDDEN;
-ME_DisplayItem *ME_RowStart(ME_DisplayItem *item) DECLSPEC_HIDDEN;
-/* ME_DisplayItem *ME_RowEnd(ME_DisplayItem *item); */
int ME_RowNumberFromCharOfs(ME_TextEditor *editor, int nOfs) DECLSPEC_HIDDEN;
static inline ME_DisplayItem *row_get_di( ME_Row *row )
{
diff --git a/dlls/riched20/row.c b/dlls/riched20/row.c
index 2c77962b56b..a12a8c7449b 100644
--- a/dlls/riched20/row.c
+++ b/dlls/riched20/row.c
@@ -82,10 +82,6 @@ void row_end_cursor( ME_Row *row, ME_Cursor *cursor, BOOL include_eop )
cursor->nOffset = (item->type == diStartRow || include_eop) ? cursor->pRun->member.run.len : 0;
}
-ME_DisplayItem *ME_RowStart(ME_DisplayItem *item) {
- return ME_FindItemBackOrHere(item, diStartRow);
-}
-
ME_Row *row_from_row_number( ME_TextEditor *editor, int row_num )
{
ME_Paragraph *para = editor_first_para( editor );
More information about the wine-cvs
mailing list