strip trailing seps

This commit is contained in:
q66 2018-04-14 21:34:24 +02:00
parent 96a3c9da30
commit 9c2fdd5f67

View file

@ -345,6 +345,10 @@ private:
}
p_path.append(s);
}
/* strip trailing separator */
if ((p_path.length() > 1) && (p_path.back() == sep)) {
p_path.pop_back();
}
}
void convert_path() {