From: Holger Schemel Date: Wed, 8 Feb 2023 12:06:38 +0000 (+0100) Subject: renamed variable X-Git-Tag: 4.3.5.0~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=178963e49597ebca359ed836cc2b43beed82e0e1;p=rocksndiamonds.git renamed variable --- diff --git a/src/libgame/system.c b/src/libgame/system.c index 7d1f5893..9955f224 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -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;