summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXButton.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2009-06-29 14:35:01 (GMT)
committerdas <das@noemail.net>2009-06-29 14:35:01 (GMT)
commita6401db9ac290e17faaf7897ec75bf07ef5b743f (patch)
tree81b5743d2ff5d45f2ee4992153e4f34949ea8f8a /carbon/tkMacOSXButton.c
parent26cb1dfcf18ed78319ed485346885111ef5c34ed (diff)
downloadtk-macosx-cocoa-merge.zip
tk-macosx-cocoa-merge.tar.gz
tk-macosx-cocoa-merge.tar.bz2
Merge of TkAqua Cocoa portmacosx-cocoa-merge
FossilOrigin-Name: 05bd0a2cb86bb730d85069b3282e569b6c23d911
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