diff options
author | das <das@noemail.net> | 2005-08-22 11:55:15 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2005-08-22 11:55:15 (GMT) |
commit | d798423b11850b897e6a55ea0549e5770061fce1 (patch) | |
tree | c37bd57f5fe84b286cc723cf504a021329d8c516 /macosx/tkMacOSXButton.c | |
parent | 644d9edc445e11d6a95d0f5efa736c649c538256 (diff) | |
download | tk-d798423b11850b897e6a55ea0549e5770061fce1.zip tk-d798423b11850b897e6a55ea0549e5770061fce1.tar.gz tk-d798423b11850b897e6a55ea0549e5770061fce1.tar.bz2 |
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXDialog.c: fix warnings.
FossilOrigin-Name: 4368fe62b5b2513e75b73b18b668e4594053fb2d
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 4f2cf9a..b4cfc67 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -10,7 +10,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.2.2.9 2005/05/14 20:53:31 das Exp $ + * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2.2.10 2005/08/22 11:55:15 das Exp $ */ #include "tkButton.h" @@ -204,7 +204,7 @@ TkpDisplayButton( int borderWidth; Pixmap pixmap; int wasUsingControl; - int imageWidth, imageHeight; + int imageWidth = 0, imageHeight = 0; int imageXOffset = 0, imageYOffset = 0; /* image information that will * be used to restrict disabled * pixmap as well */ |