Fix reading of 0#red

This commit is contained in:
Maxime Gimeno 2020-11-23 11:23:09 +01:00
parent 493f034fda
commit e76cc00c4f
1 changed files with 5 additions and 0 deletions

View File

@ -941,6 +941,11 @@ public:
if(color_info.at(c) == '.')
{
is_float = true;
// break;
}
if(color_info.at(c) == '#')
{
color_info.resize(c);
break;
}
}