projects
/
ardour.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged with trunk R1283.
[ardour.git]
/
libs
/
pbd
/
basename.cc
1
#include <pbd/basename.h>
2
#include <glibmm/miscutils.h>
3
4
using Glib::ustring;
5
6
ustring
7
PBD::basename_nosuffix (ustring str)
8
{
9
ustring base = Glib::path_get_basename (str);
10
11
return base.substr (0, base.find_last_of ('.'));
12
13
}