mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 16:43:44 +00:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
return Unit::Mil;
|
||||
|
Loading…
Reference in New Issue
Block a user