From 504b19f120eb8e6cc5f4e65cfe34f203868d9075 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sun, 5 Mar 2017 10:26:57 +0000 Subject: [PATCH 1/1] [COMCTL32] -Slightly improve the hack. svn path=/trunk/; revision=74076 --- reactos/dll/win32/comctl32/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/comctl32/button.c b/reactos/dll/win32/comctl32/button.c index 04ed567eef2..cf99a6f1fb5 100644 --- a/reactos/dll/win32/comctl32/button.c +++ b/reactos/dll/win32/comctl32/button.c @@ -343,7 +343,7 @@ BOOL BUTTON_GetIdealSize(HTHEME theme, HWND hwnd, SIZE* psize) GetTextExtentPoint32W(hdc, text, wcslen(text), &TextSize); - if (logfont.lfHeight == -1 && logfont.lfWidth == 0 && wcscmp(logfont.lfFaceName, L"Arial") == 0 && wcscmp(text, L"Start") == 0) + if (logfont.lfHeight == -1 && logfont.lfWidth == 0 && wcscmp(logfont.lfFaceName, L"Arial") == 0 && wcsicmp(text, L"Start") == 0) { TextSize.cx = 5; TextSize.cy = 4; -- 2.17.1