- bugfix for windows users 7z extraction
This commit is contained in:
parent
1cf6d523fd
commit
37f42cedee
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue