mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +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:
@ -310,7 +310,7 @@ void plProfileManagerFull::Update()
|
||||
std::vector<plProfileBase*> group;
|
||||
|
||||
for (int i = 0; i < fVars.size(); i++)
|
||||
if (hsStrEQ(fVars[i]->GetGroup(), groupName))
|
||||
if (strcmp(fVars[i]->GetGroup(), groupName) == 0)
|
||||
group.push_back(fVars[i]);
|
||||
|
||||
int x = 10;
|
||||
@ -405,7 +405,7 @@ void plProfileManagerFull::IPrintGroup(hsStream* s, const char* groupName, bool
|
||||
for (int i = 0; i < fVars.size(); i++)
|
||||
{
|
||||
plProfileVar* var = fVars[i];
|
||||
if (hsStrEQ(var->GetGroup(), groupName))
|
||||
if (strcmp(var->GetGroup(), groupName) == 0)
|
||||
{
|
||||
if (printTitle)
|
||||
sprintf(buf, "%s:%s", var->GetGroup(), var->GetName());
|
||||
|
Reference in New Issue
Block a user