Get full path of argv[0] before we change directories.
Make sure process names are long path names.
Cleaned up initialisation a bit.
diff --git a/loader/main.c b/loader/main.c
index ea1a707..44cb3d2 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -27,16 +27,8 @@
/***********************************************************************
* Main initialisation routine
*/
-BOOL MAIN_MainInit( char *argv[] )
+BOOL MAIN_MainInit(void)
{
- /* store the program name */
- argv0 = argv[0];
-
- /* Create the initial process */
- if (!PROCESS_Init()) return FALSE;
-
- /* Parse command line arguments */
- OPTIONS_ParseOptions( argv );
MAIN_WineInit();
/* Load the configuration file */