separate path manipulating functions

unlimit VFS_MAXDIRS
This commit is contained in:
Garux
2021-09-15 08:07:05 +03:00
parent e1186dd734
commit 97ad9bf5c5
17 changed files with 177 additions and 255 deletions

View File

@@ -272,8 +272,7 @@ TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const Direct
ostream << *i;
}
}
--i;
if ( *i != '/' && *i != '\\' ) {
if ( !path_separator( *--i ) ) {
ostream << '/';
}
}