add realloc pool to MSVC project
[ardour.git] / libs / pbd / whitespace.cc
index fa4a94b9951c3a0ce82e87e2a2baf4bae168fc84..57c133db26d49672b40b3497d68a6362e8478bb7 100644 (file)
 using namespace std;
 
 namespace PBD {
-       
+
 void
 strip_whitespace_edges (string& str)
 {
     string::size_type i;
     string::size_type len;
     string::size_type s = 0;
-                       
+
     len = str.length();
 
     if (len == 1) {
@@ -37,7 +37,7 @@ strip_whitespace_edges (string& str)
     }
 
     /* strip front */
-                               
+
     for (i = 0; i < len; ++i) {
         if (!isspace (str[i])) {
             break;
@@ -60,7 +60,7 @@ strip_whitespace_edges (string& str)
            if (s == i) {
                    return;
            }
-       
+
            do {
                    if (!isspace (str[i]) || i == 0) {
                            break;
@@ -69,7 +69,7 @@ strip_whitespace_edges (string& str)
                    --i;
 
            } while (true);
-       
+
            str = str.substr (s, (i - s) + 1);
 
     } else {