mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[COMCTL32] -Slightly improve the hack.
svn path=/trunk/; revision=74076
This commit is contained in:
parent
cd690901ea
commit
504b19f120
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue