13
0

Fix another hardcoded "tar.xz" -> ARDOUR::session_archive_suffix

This commit is contained in:
Robin Gareus 2017-10-03 18:03:40 +02:00
parent b73eac450a
commit 5dd9acf9ab

View File

@ -196,7 +196,7 @@ find_session (string str, string& path, string& snapshot, bool& isnew)
int
inflate_session (const std::string& zipfile, const std::string& target_dir, string& path, string& snapshot)
{
if (zipfile.find (".tar.xz") == string::npos) {
if (zipfile.find (session_archive_suffix) == string::npos) {
return 1;
}