]> git.pld-linux.org Git - packages/Zipper.git/blob - Zipper-initwitharguments.patch
- tabs in preamble
[packages/Zipper.git] / Zipper-initwitharguments.patch
1 diff -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.04841 seconds and 3 git commands to generate.