mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
Fix session-archive extraction on Windows
Inside the archive forward slash is used as dir-separator, regardless of OS.
This commit is contained in:
parent
48225c10bd
commit
6e0a1d9fd7
1 changed files with 1 additions and 2 deletions
|
|
@ -229,8 +229,7 @@ inflate_session (const std::string& zipfile, const std::string& target_dir, stri
|
|||
return 4;
|
||||
}
|
||||
|
||||
string sn = Glib::build_filename (bn, bn + statefile_suffix);
|
||||
|
||||
string sn = bn + "/" + bn + statefile_suffix;
|
||||
if (std::find (files.begin(), files.end(), sn) == files.end()) {
|
||||
error << _("Archive does not contain a session file") << endmsg;
|
||||
return 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue