summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r--macosx/tkMacOSXButton.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index cfd338b..1a54514 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -410,12 +410,6 @@ TkpComputeButtonGeometry(
/* Pad to fill difference between content bounds and button bounds. */
paddingx = contBounds.origin.x;
paddingy = contBounds.origin.y;
- if (paddingx > 0) {
- //width += paddingx;
- }
- if (paddingy > 0) {
- //height += paddingy;
- }
if (height < paddingx - 4) {
/* can't have buttons much shorter than button side diameter. */