comctl32: Remove unused parameter from SYSLINK_WrapLine.
This commit is contained in:
parent
d29a301ccd
commit
2a06a97336
|
@ -602,8 +602,8 @@ static PDOC_ITEM SYSLINK_GetPrevLink (const SYSLINK_INFO *infoPtr, PDOC_ITEM Cur
|
||||||
* SYSLINK_WrapLine
|
* SYSLINK_WrapLine
|
||||||
* Tries to wrap a line.
|
* Tries to wrap a line.
|
||||||
*/
|
*/
|
||||||
static BOOL SYSLINK_WrapLine (HDC hdc, LPWSTR Text, WCHAR BreakChar, int *LineLen,
|
static BOOL SYSLINK_WrapLine (LPWSTR Text, WCHAR BreakChar, int *LineLen,
|
||||||
int nFit, LPSIZE Extent, int Width)
|
int nFit, LPSIZE Extent)
|
||||||
{
|
{
|
||||||
WCHAR *Current;
|
WCHAR *Current;
|
||||||
|
|
||||||
|
@ -720,7 +720,7 @@ static VOID SYSLINK_Render (const SYSLINK_INFO *infoPtr, HDC hdc, PRECT pRect)
|
||||||
|
|
||||||
if(n != 0)
|
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)
|
if(LineLen == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue