diff options
Diffstat (limited to 'WebCore/wml/WMLVariables.cpp')
-rw-r--r-- | WebCore/wml/WMLVariables.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/WebCore/wml/WMLVariables.cpp b/WebCore/wml/WMLVariables.cpp index f206234..f48aa1c 100644 --- a/WebCore/wml/WMLVariables.cpp +++ b/WebCore/wml/WMLVariables.cpp @@ -117,8 +117,6 @@ bool containsVariableReference(const String& text, bool& isValid) if (!isValidVariableNameCharacter(text[nameEndPosition])) break; } - - --nameEndPosition; } if (nameEndPosition < nameStartPosition) { @@ -127,7 +125,7 @@ bool containsVariableReference(const String& text, bool& isValid) break; } - // Eventually split of conversion string, and check it's syntax afterwards + // Eventually split of conversion string, and check its syntax afterwards String conversionString; String variableName = text.substring(nameStartPosition, nameEndPosition - nameStartPosition); |