user32: Make the second parameter of get_font_margins const.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Akihiro Sagawa 2019-04-25 20:24:51 +09:00 committed by Alexandre Julliard
parent 7f5f590d27
commit e78d7b08fe

View file

@ -3812,7 +3812,7 @@ static void EDIT_WM_SetFocus(EDITSTATE *es)
EDIT_NOTIFY_PARENT(es, EN_SETFOCUS);
}
static DWORD get_font_margins(HDC hdc, TEXTMETRICW *tm, BOOL unicode)
static DWORD get_font_margins(HDC hdc, const TEXTMETRICW *tm, BOOL unicode)
{
ABC abc[256];
SHORT left, right;