Enlightenment CVS committal Author : leviathan Project : e17 Module : apps/exhibit
Dir : e17/apps/exhibit/src/bin Modified Files: exhibit_main.c Log Message: allow semi-correct handling of command line when switches are used =================================================================== RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_main.c,v retrieving revision 1.104 retrieving revision 1.105 diff -u -3 -r1.104 -r1.105 --- exhibit_main.c 22 Jun 2007 20:33:32 -0000 1.104 +++ exhibit_main.c 22 Jun 2007 20:38:02 -0000 1.105 @@ -1141,8 +1141,8 @@ ecore_event_handler_add(ECORE_EXE_EVENT_DEL, _ex_thumb_exe_exit, NULL)); epsilon_init(); - if(argc > 1) - _ex_main_window_show(argv[1], fullscreen, slideshow); + if(argc > 1 + fullscreen + slideshow) + _ex_main_window_show(argv[1 + fullscreen + slideshow], fullscreen, slideshow); else _ex_main_window_show(NULL, fullscreen, slideshow); ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs