Commit 31534507 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #7946 from SSteve:master

parents 7dd3723a 8a6fabed
......@@ -10,7 +10,7 @@ static const char* noneValue = "<none>";
static String cat_string(const String& str)
{
int left = 0, right = (int)str.length();
while( left <= right && str[left] == ' ' )
while( left < right && str[left] == ' ' )
left++;
while( right > left && str[right-1] == ' ' )
right--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment