[COMCTL32] -Remove a debug print that is no longer needed.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 5 Mar 2017 09:42:29 +0000 (09:42 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 5 Mar 2017 09:42:29 +0000 (09:42 +0000)
svn path=/trunk/; revision=74075

reactos/dll/win32/comctl32/button.c

index 4e62372..04ed567 100644 (file)
@@ -316,7 +316,7 @@ BOOL BUTTON_GetIdealSize(HTHEME theme, HWND hwnd, SIZE* psize)
     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 @@ BOOL BUTTON_GetIdealSize(HTHEME theme, HWND hwnd, SIZE* psize)
         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;
     }