user32: Remove unneeded RECT parameter from CBPaintText helper.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-10-04 12:38:04 +02:00 committed by Alexandre Julliard
parent eb5c7bccd4
commit e5dd995708
1 changed files with 3 additions and 3 deletions

View File

@ -652,9 +652,9 @@ static void CBPaintButton( LPHEADCOMBO lphc, HDC hdc, RECT rectButton)
*/
static void CBPaintText(
LPHEADCOMBO lphc,
HDC hdc,
RECT rectEdit)
HDC hdc)
{
RECT rectEdit = lphc->textRect;
INT id, size = 0;
LPWSTR pText = NULL;
@ -880,7 +880,7 @@ static LRESULT COMBO_Paint(LPHEADCOMBO lphc, HDC hParamDC)
}
if( !(lphc->wState & CBF_EDIT) )
CBPaintText( lphc, hDC, lphc->textRect);
CBPaintText( lphc, hDC );
if( hPrevBrush )
SelectObject( hDC, hPrevBrush );