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 committed by Rachael Alexanderson
commit 769274656e
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
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;