made FCommandLine::operator[] return a const char * and fixed two places where this triggered a compile error.

This commit is contained in:
Christoph Oelckers 2024-10-19 13:22:30 +02:00
commit e81d563cf4
4 changed files with 5 additions and 6 deletions

View file

@ -248,7 +248,7 @@ CCMD (vid_scaletoheight)
}
}
inline bool atob(char* I)
inline bool atob(const char* I)
{
if (stricmp (I, "true") == 0 || stricmp (I, "1") == 0)
return true;