]>
Commit | Line | Data |
---|---|---|
38b743bf | 1 | diff -ur o-TalkSoup-0.81/Source/main.m TalkSoup-0.81/Source/main.m |
2 | --- o-TalkSoup-0.81/Source/main.m 2003-06-16 00:03:41.000000000 -0600 | |
3 | +++ TalkSoup-0.81/Source/main.m 2004-11-21 15:58:49.187827706 -0700 | |
4 | @@ -25,6 +25,7 @@ | |
5 | #include <Foundation/NSDictionary.h> | |
6 | #include <Foundation/NSRunLoop.h> | |
7 | #include <Foundation/NSHost.h> | |
8 | +#include <Foundation/NSProcessInfo.h> | |
9 | ||
10 | #include <Foundation/NSEnumerator.h> | |
11 | ||
12 | @@ -64,9 +65,14 @@ | |
13 | return obj; | |
14 | } | |
15 | ||
16 | -int main(void) | |
17 | +int main(int argc, const char* argv[], const char* env[]) | |
18 | { | |
19 | NSDictionary *defaultPlugins; | |
20 | + | |
21 | +#ifdef GS_PASS_ARGUMENTS | |
22 | + [NSProcessInfo initializeWithArguments: argv count: argc environment: env]; | |
23 | +#endif | |
24 | + | |
25 | CREATE_AUTORELEASE_POOL(apr); | |
26 | ||
27 | [NSObject enableDoubleReleaseCheck: YES]; |