From e90be61f19650f436c197b7a3633a83ad02dcda1 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Sat, 28 Jul 2007 14:53:08 +0000 Subject: [PATCH] Preparing for built-in Cocoa prefs editor --- SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.mm b/SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.mm index 6afad296..bfb35635 100644 --- a/SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.mm +++ b/SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.mm @@ -322,6 +322,8 @@ NSString *getStringFromPrefs(const char *key) #ifdef STANDALONE_PREFS PrefsExit(); exit(0); +#else + [NSApp stopModal]; #endif }