Monotone-Parent: 07ace1b999a3540691535081e95bb20d766899c7
Monotone-Revision: a61aea8270f30eafc4488b9286b2d173c7a3090f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-16T21:41:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
596048ace4
commit
f0e0da1f1c
|
@ -25,16 +25,15 @@
|
|||
#import <NGObjWeb/NGObjWeb.h>
|
||||
#import "common.h"
|
||||
|
||||
int main(int argc, char **argv, char **env)
|
||||
int
|
||||
main (int argc, char **argv, char **env)
|
||||
{
|
||||
NSString *tzName;
|
||||
NSUserDefaults *ud;
|
||||
NSAutoreleasePool *pool;
|
||||
|
||||
pool = [NSAutoreleasePool new];
|
||||
#if LIB_FOUNDATION_LIBRARY
|
||||
[NSProcessInfo initializeWithArguments:argv count:argc environment:env];
|
||||
#endif
|
||||
// [NSProcessInfo initializeWithArguments: argv count: argc environment: env];
|
||||
[NGBundleManager defaultBundleManager];
|
||||
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
|
@ -43,7 +42,7 @@ int main(int argc, char **argv, char **env)
|
|||
tzName = @"Canada/Eastern";
|
||||
[NSTimeZone setDefaultTimeZone: [NSTimeZone timeZoneWithName: tzName]];
|
||||
|
||||
WOWatchDogApplicationMain(@"SOGo", argc, (void*)argv);
|
||||
WOWatchDogApplicationMain (@"SOGo", argc, (void *) argv);
|
||||
|
||||
[pool release];
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue