Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e29ce3 + 96e4a2e commit 59d9edaCopy full SHA for 59d9eda
1 file changed
src/_tkagg.cpp
@@ -259,6 +259,7 @@ void load_tkinter_funcs(void)
259
HANDLE process = GetCurrentProcess(); // Pseudo-handle, doesn't need closing.
260
HMODULE* modules = NULL;
261
DWORD size;
262
+ bool tcl_ok = false, tk_ok = false;
263
if (!EnumProcessModules(process, NULL, 0, &size)) {
264
PyErr_SetFromWindowsErr(0);
265
goto exit;
@@ -271,7 +272,6 @@ void load_tkinter_funcs(void)
271
272
273
274
}
- bool tcl_ok = false, tk_ok = false;
275
for (unsigned i = 0; i < size / sizeof(HMODULE); ++i) {
276
if (!tcl_ok) {
277
tcl_ok = load_tcl(modules[i]);
0 commit comments