[COMCTL32] -Slightly improve the hack.

svn path=/trunk/; revision=74076
This commit is contained in:
Giannis Adamopoulos 2017-03-05 10:26:57 +00:00
parent cd690901ea
commit 504b19f120

View file

@ -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;