]> git.pld-linux.org Git - packages/Zipper.git/blame - Zipper-initwitharguments.patch
- rel 2
[packages/Zipper.git] / Zipper-initwitharguments.patch
CommitLineData
3c68328e 1diff -ur o-Zipper/main.m Zipper/main.m
2--- o-Zipper/main.m 2004-11-09 12:44:19.000000000 -0700
3+++ Zipper/main.m 2004-11-11 08:56:58.071170808 -0700
4@@ -3,9 +3,13 @@
5 #include <Renaissance/Renaissance.h>
6 #include "AppDelegate.h"
7
8-int main(int argc, const char *argv[])
9+int main(int argc, const char *argv[], const char *env[])
10 {
11 CREATE_AUTORELEASE_POOL (pool);
12+
13+#ifdef GS_PASS_ARGUMENTS
14+ [NSProcessInfo initializeWithArguments: argv count: argc environment: env];
15+#endif
16
17 [NSApplication sharedApplication];
18 [NSApp setDelegate: [AppDelegate new]];
This page took 0.046074 seconds and 4 git commands to generate.