Use path::leaf instead of sys::basename in SessionDirectory::sound/midi_path
authorTim Mayberry <mojofunk@gmail.com>
Tue, 4 Sep 2007 09:01:22 +0000 (09:01 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 4 Sep 2007 09:01:22 +0000 (09:01 +0000)
commitd8d24a7521853c9f3610f7a02e4197ac8fa3a3eb
tree84ba1b8f4fbc3858bfdf86fd6b38479d4c8dd7f0
parentbb5314c3643d6f3f6fd015e598de8fd29f3148ac
Use path::leaf instead of sys::basename in SessionDirectory::sound/midi_path

sys::basename now matches boost::filesystem behaviour so if a session name
had a dot in it the session name used in the interchange directory would be
truncated.

git-svn-id: svn://localhost/ardour2/trunk@2408 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/session_directory.cc