From 666c1a44cabae77b4a63312ded6341ad94ad0b07 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Mon, 5 Feb 2007 01:49:09 +0000 Subject: [PATCH] * packaging/macosx/ScriptExec/main.c: Make sure the OS X application launcher exits when Inkscape itself is closed the first time it is run. --- packaging/macosx/ScriptExec/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c index c4b30b3b3..c3e14a0a1 100644 --- a/packaging/macosx/ScriptExec/main.c +++ b/packaging/macosx/ScriptExec/main.c @@ -217,8 +217,9 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, "touch \"$HOME/.inkscape/.fccache-new\""); // Rerun now. OSErr err = ExecuteScript(scriptPath, &pid); + ExitToShell(); - return err; + return noErr; } -- 2.30.2