1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

CharacterFunctions: Add new function to move pointer past whitespace

This commit is contained in:
reuk 2021-02-17 13:01:01 +00:00
parent dc6b4ee43f
commit 64b9366e8f
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
17 changed files with 46 additions and 23 deletions

View file

@ -143,7 +143,7 @@ private:
static float parseFloat (String::CharPointerType& t)
{
t = t.findEndOfWhitespace();
t.incrementToEndOfWhitespace();
return (float) CharacterFunctions::readDoubleValue (t);
}
@ -211,7 +211,7 @@ private:
{
TripleIndex i;
t = t.findEndOfWhitespace();
t.incrementToEndOfWhitespace();
i.vertexIndex = t.getIntValue32() - 1;
t = findEndOfFaceToken (t);