mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Toss lots of custom CString code
We already have a C standard library, so let's not reimplement it.
This commit is contained in:
@ -95,7 +95,7 @@ int PrintHelp( void )
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
if (argc >= 1 && hsStrEQ(argv[1], "-v"))
|
||||
if (argc >= 1 && strcmp(argv[1], "-v") == 0)
|
||||
{
|
||||
PrintVersion();
|
||||
return 0;
|
||||
@ -110,9 +110,9 @@ int main(int argc, char* argv[])
|
||||
int arg = 1;
|
||||
for (arg = 1; arg < argc; arg++)
|
||||
{
|
||||
if (hsStrEQ(argv[arg], "-s"))
|
||||
if (strcmp(argv[arg], "-s") == 0)
|
||||
sounds = true;
|
||||
else if (hsStrEQ(argv[arg], "-i"))
|
||||
else if (strcmp(argv[arg], "-i") == 0)
|
||||
stats = true;
|
||||
else
|
||||
break;
|
||||
|
Reference in New Issue
Block a user