equal
deleted
inserted
replaced
295 |
295 |
296 |
296 |
297 /* Main entry point to executable - should *not* be SDL_main! */ |
297 /* Main entry point to executable - should *not* be SDL_main! */ |
298 int main (int argc, char **argv) |
298 int main (int argc, char **argv) |
299 { |
299 { |
300 |
|
301 /* Copy the arguments into a global variable */ |
300 /* Copy the arguments into a global variable */ |
302 int i; |
|
303 |
|
304 /* This is passed if we are launched by double-clicking */ |
301 /* This is passed if we are launched by double-clicking */ |
305 if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { |
302 if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { |
306 gArgc = 1; |
303 gArgc = 1; |
307 gFinderLaunch = YES; |
304 gFinderLaunch = YES; |
308 } else { |
305 } else { |