renamed variable
authorHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 12:06:38 +0000 (13:06 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 12:06:38 +0000 (13:06 +0100)
src/libgame/system.c

index 7d1f5893d8d281c5b8b35ae84aa219d5ac7cdc93..9955f224f85bb7cfc98c186987d4ea085778974b 100644 (file)
@@ -69,13 +69,14 @@ int                 FrameCounter = 0;
 // init/close functions
 // ============================================================================
 
-void InitProgramInfo(char *argv0, char *config_filename, char *userdata_subdir,
+void InitProgramInfo(char *command_filename,
+                    char *config_filename, char *userdata_subdir,
                     char *program_basename, char *program_title,
                     char *icon_filename, char *cookie_prefix,
                     char *program_version_string, int program_version)
 {
-  program.command_basepath = getBasePath(argv0);
-  program.command_basename = getBaseName(argv0);
+  program.command_basepath = getBasePath(command_filename);
+  program.command_basename = getBaseName(command_filename);
 
   program.config_filename = config_filename;