Fix copy/paste error in numeric evaluator.
Fixes: lp:1783991 * https://bugs.launchpad.net/kicad/+bug/1783991
This commit is contained in:
parent
4dfae16c1b
commit
40f5ca0bf7
|
@ -249,7 +249,7 @@ NUMERIC_EVALUATOR::Token NUMERIC_EVALUATOR::getToken()
|
||||||
return Unit::Mil;
|
return Unit::Mil;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( sizeLeft >= 4 && ch == 't' && cptr[ 1 ] == 'h' && cptr[ 2 ] == 'o' && cptr[ 2 ] == 'u' && !isalnum( cptr[ 3 ] ))
|
if( sizeLeft >= 4 && ch == 't' && cptr[ 1 ] == 'h' && cptr[ 2 ] == 'o' && cptr[ 3 ] == 'u' && !isalnum( cptr[ 4 ] ))
|
||||||
{
|
{
|
||||||
m_token.pos += 4;
|
m_token.pos += 4;
|
||||||
return Unit::Mil;
|
return Unit::Mil;
|
||||||
|
|
Loading…
Reference in New Issue