Akihiro Sagawa : user32: Make the second parameter of get_font_margins const.
Alexandre Julliard
julliard at winehq.org
Thu Apr 25 16:39:26 CDT 2019
Module: wine
Branch: master
Commit: e78d7b08fe4bffe1b70c92bd0c076d4cec92cb72
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e78d7b08fe4bffe1b70c92bd0c076d4cec92cb72
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Thu Apr 25 20:24:51 2019 +0900
user32: Make the second parameter of get_font_margins const.
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/edit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index 24af8ef..3c5331f 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -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;
More information about the wine-cvs
mailing list