Author: gadamopoulos
Date: Sun Mar  5 10:26:57 2017
New Revision: 74076

URL: http://svn.reactos.org/svn/reactos?rev=74076&view=rev
Log:
[COMCTL32] -Slightly improve the hack.

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=74076&r1=74075&r2=74076&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 
10:26:57 2017
@@ -343,7 +343,7 @@
 
     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;


Reply via email to