fixes the add2path function (adding '/' at the right place).

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@68 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 20 years ago
parent 4869df8451
commit 207ca4790e

@ -523,7 +523,7 @@ string add2path( const string& path, int n_suffix, ...)
const char* s = va_arg(ap,const char*);
if(!path.empty() && (path[path.length()-1] != '/'))
if(!outpath.empty() && (outpath[outpath.length()-1] != '/'))
outpath += '/';
outpath += s;

Loading…
Cancel
Save