mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
Use Glib::file_test instead of sys::exists
git-svn-id: svn://localhost/ardour2/branches/3.0@12881 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6d7302a3a4
commit
02aa5bcde4
1 changed files with 1 additions and 1 deletions
|
|
@ -3348,7 +3348,7 @@ Session::new_midi_source_name (const string& base)
|
|||
|
||||
snprintf (buf, sizeof(buf), "%s-%u.mid", p.to_string().c_str(), cnt);
|
||||
|
||||
if (sys::exists (buf)) {
|
||||
if (Glib::file_test (buf, Glib::FILE_TEST_EXISTS)) {
|
||||
existing++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue