Mercurial > sdl-ios-xcode
comparison src/main/macosx/SDLMain.m @ 958:d390f9bd6b1c
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Sep 2004 13:47:44 +0000 |
parents | 217f119a19a0 |
children | 39408f59a0f7 |
comparison
equal
deleted
inserted
replaced
957:217f119a19a0 | 958:d390f9bd6b1c |
---|---|
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 { |