summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-14 10:00:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-14 10:00:17 (GMT)
commit457456e2e721dd032dfed9ed2a6c851536a24b66 (patch)
treed295c1b0416dcf73a670622da6e346755f54de76 /macosx
parent5e9592bc08da2424a5b180e1ee18f0ba564c672f (diff)
downloadtk-457456e2e721dd032dfed9ed2a6c851536a24b66.zip
tk-457456e2e721dd032dfed9ed2a6c851536a24b66.tar.gz
tk-457456e2e721dd032dfed9ed2a6c851536a24b66.tar.bz2
Fix [8ebed330ed]: doing some Tk inside of several threads crashes
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 05bdf7f..2ad88e9 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -352,7 +352,7 @@ static NSInteger showOpenSavePanel(
NSInteger modalReturnCode;
if (parent && ![parent attachedSheet]) {
- int osVersion = [NSApp macOSVersion];
+ int osVersion = [NSApp macOSVersion];
[panel beginSheetModalForWindow:parent
completionHandler:^(NSModalResponse returnCode) {
[NSApp tkFilePanelDidEnd:panel