[COMCTL32] -Make the lautus hack a bit more strict.

svn path=/trunk/; revision=74073
This commit is contained in:
Giannis Adamopoulos
2017-03-05 09:14:12 +00:00
parent 2e5058f3bf
commit c27717bac7
+1 -1
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)
if (logfont.lfHeight == -1 && logfont.lfWidth == 0 && wcscmp(logfont.lfFaceName, L"Arial") == 0 && wcscmp(text, L"Start") == 0)
{
TextSize.cx = 5;
TextSize.cy = 4;