]> git.pld-linux.org Git - packages/Charmap.git/blob - Charmap-initializeWithArguments.patch
- tabs in preamle
[packages/Charmap.git] / Charmap-initializeWithArguments.patch
1 diff -ur o-charmap-0.2/main.m charmap-0.2/main.m
2 --- o-charmap-0.2/main.m        2004-05-28 05:04:30.000000000 -0600
3 +++ charmap-0.2/main.m  2004-11-13 16:19:14.176617906 -0700
4 @@ -22,10 +22,14 @@
5  #include "Controller.h"
6  #endif
7  
8 -int main()
9 +int main(int argc, char **argv, char **env)
10  {
11    NSAutoreleasePool *pool;
12  
13 +#ifdef GS_PASS_ARGUMENTS
14 +  [NSProcessInfo initializeWithArguments: argv count: argc environment: env];
15 +#endif
16 +
17    pool = [[NSAutoreleasePool alloc] init];
18  
19    [NSApplication sharedApplication];
This page took 0.094643 seconds and 3 git commands to generate.