Code

* packaging/macosx/ScriptExec/main.c: Make sure the OS X application
authormjwybrow <mjwybrow@users.sourceforge.net>
Mon, 5 Feb 2007 01:49:09 +0000 (01:49 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Mon, 5 Feb 2007 01:49:09 +0000 (01:49 +0000)
    launcher exits when Inkscape itself is closed the first time it is run.

packaging/macosx/ScriptExec/main.c

index c4b30b3b33db53008663d55d4f846fec8cb7c636..c3e14a0a1f00ff484bf82de54cfb036e793e788f 100644 (file)
@@ -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;
 }