Author: gadamopoulos
Date: Sun Mar 5 09:42:29 2017
New Revision: 74075
URL:
http://svn.reactos.org/svn/reactos?rev=74075&view=rev
Log:
[COMCTL32] -Remove a debug print that is no longer needed.
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.…
==============================================================================
--- 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:42:29 2017
@@ -316,7 +316,7 @@
HFONT hFont = 0, hPrevFont = 0;
SIZE TextSize, ImageSize, ButtonSize;
BOOL ret = FALSE;
- LOGFONTW logfont;
+ LOGFONTW logfont = {0};
pdata = _GetButtonData(hwnd);
text = get_button_text( hwnd );
@@ -372,8 +372,6 @@
rcContents.right = ImageSize.cx + TextSize.cx;
rcContents.bottom = max(ImageSize.cy, TextSize.cy);
GetThemeBackgroundExtent(theme, hdc, BP_PUSHBUTTON, PBS_NORMAL, &rcContents,
&rcButtonExtent);
- ERR("rcContents: %d, %d, %d, %d\n", rcContents.left, rcContents.top,
rcContents.right, rcContents.bottom);
- ERR("rcButtonExtent: %d, %d, %d, %d\n", rcButtonExtent.left,
rcButtonExtent.top, rcButtonExtent.right, rcButtonExtent.bottom);
ButtonSize.cx = rcButtonExtent.right - rcButtonExtent.left;
ButtonSize.cy = rcButtonExtent.bottom - rcButtonExtent.top;
}