riched20: Removed an unused parameter

Phil Krylov phil at newstar.rinet.ru
Fri Feb 3 13:20:41 CST 2006


ChangeLog:

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(-)

ef1b6c8b4c0a99b3eeb7051d9dd4f7b4f37f387d
diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index 9560e81..56d1c48 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 b9c33a5..7cee1ce 100644
--- a/dlls/riched20/run.c
+++ b/dlls/riched20/run.c
@@ -380,7 +380,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);
-- 
1.0.GIT



More information about the wine-patches mailing list