From: mjwybrow Date: Mon, 5 Feb 2007 01:49:09 +0000 (+0000) Subject: * packaging/macosx/ScriptExec/main.c: Make sure the OS X application X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=666c1a44cabae77b4a63312ded6341ad94ad0b07;p=inkscape.git * packaging/macosx/ScriptExec/main.c: Make sure the OS X application launcher exits when Inkscape itself is closed the first time it is run. --- 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; }