Permalink
Browse files

Use Str::ctolower instead of std::tolower

  • Loading branch information...
dimhotepus committed Apr 4, 2016
1 parent 21b9a18 commit 98f2d6b90a75d4aca52a665fea4cb61de5843c99
Showing with 1 addition and 1 deletion.
  1. +1 −1 daemon/src/common/Color.cpp
@@ -228,7 +228,7 @@ TokenIterator::value_type TokenIterator::NextToken(const char* input)
{
return value_type( input, input+2, detail::Indexed( input[1] - '0' ) );
}
else if ( std::tolower( input[1] ) == 'x' && Str::cisxdigit( input[2] ) &&
else if ( Str::ctolower( input[1] ) == 'x' && Str::cisxdigit( input[2] ) &&
Str::cisxdigit( input[3] ) && Str::cisxdigit( input[4] ) )
{
return value_type( input, input+5, Color(

0 comments on commit 98f2d6b

Please sign in to comment.