Permalink
Browse files

Merge pull request #925 from dimhotepus/master

Use Str::ctolower instead of std::tolower
  • Loading branch information...
mbasaglia committed Apr 4, 2016
2 parents 21b9a18 + 98f2d6b commit b4f1f0bf62e88b2697f1a80024bd9f026be7fb5b
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 b4f1f0b

Please sign in to comment.