[PATCH v3 2/6] riched20: Allow to insert OLE object at specified offset.

Huw Davies huw at codeweavers.com
Mon Jun 7 07:41:54 CDT 2021


On Sat, May 29, 2021 at 10:01:38PM +0800, Jactry Zeng wrote:
> Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
> ---
>  dlls/riched20/caret.c         | 14 +++++++++++---
>  dlls/riched20/tests/richole.c | 18 +++++++++---------
>  2 files changed, 20 insertions(+), 12 deletions(-)
> 
> diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
> index 1f4c3903a38..3104178082a 100644
> --- a/dlls/riched20/caret.c
> +++ b/dlls/riched20/caret.c
> @@ -460,10 +460,18 @@ void ME_InsertOLEFromCursor(ME_TextEditor *editor, const REOBJECT* reo, int nCur

Since this is always called with nCursor == 0, let's remove the parameter.  While
we're at it, rename the function to editor_insert_oleobj().

Huw.



More information about the wine-devel mailing list