summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2009-04-05 01:30:02 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2009-04-05 01:30:02 (GMT)
commit2145595f74e6ffec9f79c24ccdf907569844e6e1 (patch)
tree798a4c9306b663258f636eb5f8562327a6a038cd /Modules/_tkinter.c
parentb1386df9a341f89793270089406122237998edcb (diff)
downloadcpython-2145595f74e6ffec9f79c24ccdf907569844e6e1.zip
cpython-2145595f74e6ffec9f79c24ccdf907569844e6e1.tar.gz
cpython-2145595f74e6ffec9f79c24ccdf907569844e6e1.tar.bz2
Initialize the tk_init_failed static variable to 0.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 4d81058..e5d4624 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -281,7 +281,7 @@ static PyObject *valInCmd;
static PyObject *trbInCmd;
#ifdef TKINTER_PROTECT_LOADTK
-static int tk_load_failed;
+static int tk_load_failed = 0;
#endif