Author: gadamopoulos
Date: Sun Mar  5 09:14:12 2017
New Revision: 74073

URL: http://svn.reactos.org/svn/reactos?rev=74073&view=rev
Log:
[COMCTL32] -Make the lautus hack a bit more strict.

Modified:
    trunk/reactos/dll/win32/comctl32/button.c

Modified: trunk/reactos/dll/win32/comctl32/button.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/button.c?rev=74073&r1=74072&r2=74073&view=diff
==============================================================================
--- trunk/reactos/dll/win32/comctl32/button.c   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/button.c   [iso-8859-1] Sun Mar  5 
09:14:12 2017
@@ -343,7 +343,7 @@
 
     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;


Reply via email to