summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-12-19 19:50:52 (GMT)
committerhobbs <hobbs>2006-12-19 19:50:52 (GMT)
commitb64d0ff9d84e4c6445491d90f8fb99916b45cb48 (patch)
tree9a6b47546b4adb01039da00a17900698ce0a5cb7 /win
parent4d7afe0cbb46969e094064103adb27ea8afb9371 (diff)
downloadtk-b64d0ff9d84e4c6445491d90f8fb99916b45cb48.zip
tk-b64d0ff9d84e4c6445491d90f8fb99916b45cb48.tar.gz
tk-b64d0ff9d84e4c6445491d90f8fb99916b45cb48.tar.bz2
(TkpDisplayButton): lint init. [Bug 1618604]
Diffstat (limited to 'win')
-rw-r--r--win/tkWinButton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index 2ad0c4b..30d8c8c 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.20.2.3 2003/10/10 00:03:57 hobbs Exp $
+ * RCS: @(#) $Id: tkWinButton.c,v 1.20.2.4 2006/12/19 19:50:55 hobbs Exp $
*/
#define OEMRESOURCE
@@ -346,7 +346,7 @@ TkpDisplayButton(clientData)
* compiler 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