Change some RString methods to free functions
These ones aren't a std::string method. Doing this helps the RString to std::string migration.
This commit is contained in:
@@ -968,7 +968,7 @@ ConfOption *ConfOption::Find( RString name )
|
||||
{
|
||||
ConfOption *opt = &g_ConfOptions[i];
|
||||
RString match(opt->name);
|
||||
if( match.CompareNoCase(name) )
|
||||
if( CompareNoCase(match, name) )
|
||||
continue;
|
||||
return opt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user