From: Giannis Adamopoulos Date: Sun, 5 Mar 2017 09:14:12 +0000 (+0000) Subject: [COMCTL32] -Make the lautus hack a bit more strict. X-Git-Tag: ReactOS-0.4.4-CLT2017~18 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=c27717bac710153fd006ff68d4fcb44a1c05bfe3;hp=2e5058f3bf797572dfd7297c1f0a8797cd9bf5d6 [COMCTL32] -Make the lautus hack a bit more strict. svn path=/trunk/; revision=74073 --- diff --git a/reactos/dll/win32/comctl32/button.c b/reactos/dll/win32/comctl32/button.c index 31f402390d6..4e62372d2d5 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) + if (logfont.lfHeight == -1 && logfont.lfWidth == 0 && wcscmp(logfont.lfFaceName, L"Arial") == 0 && wcscmp(text, L"Start") == 0) { TextSize.cx = 5; TextSize.cy = 4;