- bugfix for windows users 7z extraction

This commit is contained in:
Mark Vejvoda 2011-05-27 16:02:07 +00:00
parent 1cf6d523fd
commit 37f42cedee
1 changed files with 4 additions and 0 deletions

View File

@ -471,7 +471,11 @@ bool EndsWith(const string &str, const string& key)
void endPathWithSlash(string &path) {
if(EndsWith(path, "/") == false && EndsWith(path, "\\") == false) {
#if defined(WIN32)
path += "\\";
#else
path += "/";
#endif
}
}