1
0
Fork 0

DBG: fixed issue with format delimiter

This commit is contained in:
mrexodia 2016-11-07 19:32:13 +01:00
parent 28d174840a
commit 3a7726015f
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ static const char* getArgExpressionType(const String & formatString, ValueType::
{
auto hasExplicitType = false;
type = ValueType::Hex;
if(formatString.size() > 2 && formatString[1] == ':')
if(formatString.size() > 2 && !isdigit(formatString[0]) && formatString[1] == ':')
{
switch(formatString[0])
{