Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf25c2d0

Browse files
authored
Merge pull request#23051 from Biswa96/fix-error-mingw
2 parents1f7151e +c321d80 commitf25c2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/_tkagg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ void load_tkinter_funcs(void)
259259
HANDLE process =GetCurrentProcess();// Pseudo-handle, doesn't need closing.
260260
HMODULE* modules =NULL;
261261
DWORD size;
262+
bool tcl_ok =false, tk_ok =false;
262263
if (!EnumProcessModules(process,NULL,0, &size)) {
263264
PyErr_SetFromWindowsErr(0);
264265
gotoexit;
@@ -271,7 +272,6 @@ void load_tkinter_funcs(void)
271272
PyErr_SetFromWindowsErr(0);
272273
gotoexit;
273274
}
274-
bool tcl_ok =false, tk_ok =false;
275275
for (unsigned i =0; i < size /sizeof(HMODULE); ++i) {
276276
if (!tcl_ok) {
277277
tcl_ok =load_tcl(modules[i]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp