use isspace() and not isgraph() to identify whitespace; remove Glib::ustring version of strip_whitespace_edges()

git-svn-id: svn://localhost/ardour2/branches/3.0@7773 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-09-14 16:50:22 +00:00
parent 4d112a8e6b
commit c1ee2c6943
2 changed files with 2 additions and 16 deletions

View file

@ -22,16 +22,11 @@
#include <string>
namespace Glib {
class ustring;
}
namespace PBD {
// returns the empty string if the entire string is whitespace
// so check length after calling.
extern void strip_whitespace_edges (std::string& str);
extern void strip_whitespace_edges (Glib::ustring& str);
} // namespace PBD