Renaming string functions.

This commit is contained in:
Branimir Karadžić
2017-04-22 14:34:01 -07:00
parent aa1888a979
commit 47f14e7655
10 changed files with 86 additions and 84 deletions

View File

@@ -245,11 +245,11 @@ namespace bx
const char* arg = findOption(_short, _long, 1);
if (NULL != arg)
{
if ('0' == *arg || (0 == strincmp(arg, "false") ) )
if ('0' == *arg || (0 == strCmpI(arg, "false") ) )
{
_value = false;
}
else if ('0' != *arg || (0 == strincmp(arg, "true") ) )
else if ('0' != *arg || (0 == strCmpI(arg, "true") ) )
{
_value = true;
}
@@ -293,7 +293,7 @@ namespace bx
}
else if (NULL != _long
&& '-' == *arg
&& 0 == strincmp(arg+1, _long) )
&& 0 == strCmpI(arg+1, _long) )
{
if (0 == _skip)
{