Phil Krylov : riched20: Removed an unused parameter.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Feb 4 11:14:58 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 325e06d2c194b2ce0572bda1f7a387bdc99ff595
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=325e06d2c194b2ce0572bda1f7a387bdc99ff595
Author: Phil Krylov <phil at newstar.rinet.ru>
Date: Sat Feb 4 17:00:18 2006 +0100
riched20: Removed an unused parameter.
---
dlls/riched20/editor.h | 2 +-
dlls/riched20/run.c | 2 +-
dlls/riched20/wrap.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index f3d9b07..f452870 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -116,7 +116,7 @@ ME_DisplayItem *ME_InsertRunAtCursor(ME_
void ME_CheckCharOffsets(ME_TextEditor *editor);
void ME_PropagateCharOffset(ME_DisplayItem *p, int shift);
void ME_GetGraphicsSize(ME_TextEditor *editor, ME_Run *run, SIZE *pSize);
-int ME_CharFromPoint(ME_TextEditor *editor, int cx, ME_Paragraph *para, ME_Run *run);
+int ME_CharFromPoint(ME_TextEditor *editor, int cx, ME_Run *run);
/* this one accounts for 1/2 char tolerance */
int ME_CharFromPointCursor(ME_TextEditor *editor, int cx, ME_Run *run);
int ME_PointFromChar(ME_TextEditor *editor, ME_Run *pRun, int nOffset);
diff --git a/dlls/riched20/run.c b/dlls/riched20/run.c
index 13a7204..4730784 100644
--- a/dlls/riched20/run.c
+++ b/dlls/riched20/run.c
@@ -381,7 +381,7 @@ void ME_GetGraphicsSize(ME_TextEditor *e
pSize->cy = 64;
}
-int ME_CharFromPoint(ME_TextEditor *editor, int cx, ME_Paragraph *para, ME_Run *run)
+int ME_CharFromPoint(ME_TextEditor *editor, int cx, ME_Run *run)
{
int fit = 0;
HGDIOBJ hOldFont;
diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c
index f3d3e9d..4e27454 100644
--- a/dlls/riched20/wrap.c
+++ b/dlls/riched20/wrap.c
@@ -168,7 +168,7 @@ static ME_DisplayItem *ME_SplitByBacktra
int i, idesp, len;
ME_Run *run = &p->member.run;
- idesp = i = ME_CharFromPoint(wc->context->editor, loc, &ME_GetParagraph(p)->member.para, run);
+ idesp = i = ME_CharFromPoint(wc->context->editor, loc, run);
len = ME_StrVLen(run->strText);
assert(len>0);
assert(i<len);
More information about the wine-cvs
mailing list