1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +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

@ -30,7 +30,7 @@ namespace RelativePointHelpers
{
inline void skipComma (String::CharPointerType& s)
{
s = s.findEndOfWhitespace();
s.incrementToEndOfWhitespace();
if (*s == ',')
++s;

View file

@ -30,7 +30,7 @@ namespace RelativeRectangleHelpers
{
inline void skipComma (String::CharPointerType& s)
{
s = s.findEndOfWhitespace();
s.incrementToEndOfWhitespace();
if (*s == ',')
++s;