summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/prompter.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-12-01 06:01:30 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-12-01 06:01:30 +0000
commit927553f6b83add18d03f4bae55421743342d5704 (patch)
treed5379ff2b00477f274f28a608732375449b02672 /libs/gtkmm2ext/prompter.cc
parentc103132ae60973dc4ee0831a70b5c6aa1b3d9747 (diff)
PBD::strip_whitespace_edges() returns the empty string if the passed string is
all whitespace. This allows for some mild code cleanup. It's also declared in the PBD namespace now. sfdb-v4 implemented. Instead of fields that go across all files, there is now just one tag field where you can enter comma delimited tags. Searching for tags to follow soon. I recommend trashing your current ~/.ardour2/sfdb file. git-svn-id: svn://localhost/ardour2/trunk@1182 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/prompter.cc')
-rw-r--r--libs/gtkmm2ext/prompter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/prompter.cc b/libs/gtkmm2ext/prompter.cc
index c3a04f19a8..d06204d356 100644
--- a/libs/gtkmm2ext/prompter.cc
+++ b/libs/gtkmm2ext/prompter.cc
@@ -86,7 +86,7 @@ Prompter::get_result (string &str, bool strip)
{
str = entry.get_text ();
if (strip) {
- strip_whitespace_edges (str);
+ PBD::strip_whitespace_edges (str);
}
}