[1805] Update Prototype

This commit is contained in:
David Sangrey committed 2024-07-22 13:48:45 -04:00
1 parent 5c5682d789
commit 759fc12dcb
1 file changed
+1 -1
+1 -1
View File
@@ -296,7 +296,7 @@ if __name__ == '__main__': # noqa: C901
# class name limited to 256 - https://msdn.microsoft.com/en-us/library/windows/desktop/ms633576
cls = create_unicode_buffer(257)
# This conditional is exploded to make debugging slightly easier
if win32gui.GetClassName(window_handle, cls, 257):
if win32gui.GetClassName(window_handle):
if cls.value == 'TkTopLevel':
if window_title(window_handle) == applongname:
if GetProcessHandleFromHwnd(window_handle):