13
0

Replace Glib::file_test with sys::exists in Session::path_from_region_name

git-svn-id: svn://localhost/ardour2/trunk@2636 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-11-13 06:40:45 +00:00
parent 7b8bfddca6
commit 6dc5e02575

View File

@ -1588,7 +1588,7 @@ Session::path_from_region_name (DataType type, string name, string identifier)
n, ext.c_str());
}
if (!Glib::file_test (buf, Glib::FILE_TEST_EXISTS)) {
if (!sys::exists (buf)) {
return buf;
}
}