summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXButton.c
diff options
context:
space:
mode:
authordas <das>2009-06-29 14:35:01 (GMT)
committerdas <das>2009-06-29 14:35:01 (GMT)
commit809b381e2db8d3243e35cd569e40d2cccb781e20 (patch)
tree81b5743d2ff5d45f2ee4992153e4f34949ea8f8a /carbon/tkMacOSXButton.c
parent09557ea5fa152ae25ceebe28524a67d75e0d00e1 (diff)
downloadtk-809b381e2db8d3243e35cd569e40d2cccb781e20.zip
tk-809b381e2db8d3243e35cd569e40d2cccb781e20.tar.gz
tk-809b381e2db8d3243e35cd569e40d2cccb781e20.tar.bz2
Merge of TkAqua Cocoa port
Diffstat (limited to 'carbon/tkMacOSXButton.c')
-rw-r--r--carbon/tkMacOSXButton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/carbon/tkMacOSXButton.c b/carbon/tkMacOSXButton.c
index a9127f7..bae2a88 100644
--- a/carbon/tkMacOSXButton.c
+++ b/carbon/tkMacOSXButton.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXButton.c,v 1.1 2009/06/26 01:42:46 das Exp $
+ * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2 2009/06/29 14:35:01 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -191,7 +191,7 @@ TkpDisplayButton(
Boolean portChanged;
Pixmap pixmap;
int width, height, fullWidth, fullHeight, textXOffset, textYOffset;
- int borderWidth, wasUsingControl;
+ int borderWidth = 0, wasUsingControl;
int haveImage = 0, haveText = 0, imageWidth = 0, imageHeight = 0;
int imageXOffset = 0, imageYOffset = 0; /* image information that will
* be used to restrict disabled