Gerald Pfeifer : comctl32: Remove unused parameter from SYSLINK_WrapLine.

Alexandre Julliard julliard at winehq.org
Mon Jan 19 08:58:26 CST 2009


Module: wine
Branch: master
Commit: 2a06a97336a361781ef5dfee53560abc58488ffa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2a06a97336a361781ef5dfee53560abc58488ffa

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Jan 17 20:45:21 2009 +0100

comctl32: Remove unused parameter from SYSLINK_WrapLine.

---

 dlls/comctl32/syslink.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c
index 64cea11..5c25a52 100644
--- a/dlls/comctl32/syslink.c
+++ b/dlls/comctl32/syslink.c
@@ -602,8 +602,8 @@ static PDOC_ITEM SYSLINK_GetPrevLink (const SYSLINK_INFO *infoPtr, PDOC_ITEM Cur
  * SYSLINK_WrapLine
  * Tries to wrap a line.
  */
-static BOOL SYSLINK_WrapLine (HDC hdc, LPWSTR Text, WCHAR BreakChar, int *LineLen,
-                             int nFit, LPSIZE Extent, int Width)
+static BOOL SYSLINK_WrapLine (LPWSTR Text, WCHAR BreakChar, int *LineLen,
+                             int nFit, LPSIZE Extent)
 {
     WCHAR *Current;
 
@@ -720,7 +720,7 @@ static VOID SYSLINK_Render (const SYSLINK_INFO *infoPtr, HDC hdc, PRECT pRect)
                 
                 if(n != 0)
                 {
-                    Wrap = SYSLINK_WrapLine(hdc, tx, infoPtr->BreakChar, &LineLen, nFit, &szDim, rc.right - x);
+                    Wrap = SYSLINK_WrapLine(tx, infoPtr->BreakChar, &LineLen, nFit, &szDim);
 
                     if(LineLen == 0)
                     {




More information about the wine-cvs mailing list