summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-12-19 19:51:06 (GMT)
committerhobbs <hobbs>2006-12-19 19:51:06 (GMT)
commitd1c94d46f8d31ed0a8345df88ceac5943c73009a (patch)
tree84a260dbb773915f953c04dd5456a0452111c649 /win/tkWinButton.c
parent5fec9128368cf36f2998b6ad6e09e214ed688320 (diff)
downloadtk-d1c94d46f8d31ed0a8345df88ceac5943c73009a.zip
tk-d1c94d46f8d31ed0a8345df88ceac5943c73009a.tar.gz
tk-d1c94d46f8d31ed0a8345df88ceac5943c73009a.tar.bz2
(TkpDisplayButton): lint init. [Bug 1618604]
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r--win/tkWinButton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index 4503595..c79aff8 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinButton.c,v 1.29 2006/12/12 23:38:22 mdejong Exp $
+ * RCS: @(#) $Id: tkWinButton.c,v 1.30 2006/12/19 19:51:06 hobbs Exp $
*/
#define OEMRESOURCE
@@ -349,7 +349,7 @@ TkpDisplayButton(
* warning. */
int y, relief;
register Tk_Window tkwin = butPtr->tkwin;
- int width, height, haveImage = 0, haveText = 0, drawRing = 0;
+ int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0;
RECT rect;
int defaultWidth; /* Width of default ring. */
int offset; /* 0 means this is a label widget. 1 means it