mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[COMCTL32] -Make the lautus hack a bit more strict.
svn path=/trunk/; revision=74073
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user