mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Merge pull request #7946 from SSteve:master
This commit is contained in:
commit
3153450756
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user