summaryrefslogtreecommitdiffstats
path: root/generic/tkBitmap.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-12 15:46:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-12 15:46:44 (GMT)
commit0f8433166f0f08199aa9feef883201a625281606 (patch)
tree8671bd654853fe5c51513ef5fac9b4662e9fafea /generic/tkBitmap.c
parent034bcb96462692043eaeffb14ad48d2d9d21ca41 (diff)
parentf0588ea6f1632841dfe7ed350ea5c0e78331882d (diff)
downloadtk-0f8433166f0f08199aa9feef883201a625281606.zip
tk-0f8433166f0f08199aa9feef883201a625281606.tar.gz
tk-0f8433166f0f08199aa9feef883201a625281606.tar.bz2
merge 8.5
Diffstat (limited to 'generic/tkBitmap.c')
-rw-r--r--generic/tkBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index 09545d6..f7df546 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.c
@@ -304,7 +304,7 @@ GetBitmap(
TkBitmap *bitmapPtr, *existingBitmapPtr;
TkPredefBitmap *predefPtr;
Pixmap bitmap;
- int isNew, width, height, dummy2;
+ int isNew, width = 0, height = 0, dummy2;
TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr;
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));