mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
dsnlexer.cpp's isNumber() was recently stupid-ized, un-stupid-ize it.
This commit is contained in:
parent
caf5fc8d8d
commit
9d6ec5a265
@ -480,7 +480,7 @@ static bool isNumber( const char* cp, const char* limit )
|
||||
}
|
||||
}
|
||||
|
||||
return sawNumber;
|
||||
return sawNumber && cp==limit;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user