Change to const char, rename to p_execName

This commit is contained in:
VoxelTek 2025-08-14 00:20:36 +10:00
parent 7c6db1640a
commit 2783664a9f
2 changed files with 3 additions and 3 deletions

View File

@ -1404,9 +1404,9 @@ SDL_AppResult IsleApp::ParseArguments(int argc, char** argv)
return SDL_APP_CONTINUE;
}
void IsleApp::DisplayArgumentHelp(char* execName)
void IsleApp::DisplayArgumentHelp(const char* p_execName)
{
SDL_Log("Usage: %s [options]", execName);
SDL_Log("Usage: %s [options]", p_execName);
SDL_Log("Options:");
SDL_Log(" --ini <path> Set custom path to .ini config");
#ifdef ISLE_DEBUG

View File

@ -99,7 +99,7 @@ class IsleApp {
const CursorBitmap* m_cursorCurrentBitmap;
char* m_mediaPath;
MxFloat m_cursorSensitivity;
void DisplayArgumentHelp(char* execName);
void DisplayArgumentHelp(const char* p_execName);
char* m_iniPath;
MxFloat m_maxLod;