diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-09 02:42:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-09 02:42:40 +0000 |
commit | 070ca5043c7e961d7a22510125f4036e4d0b8e4b (patch) | |
tree | 7d91a3f4153c60383007d3f78e2df084b4035826 /libs/pbd | |
parent | 9e9c7a85365a924e207f72c6682a45de04ee95b9 (diff) |
new keybinding editor, mostly finished but not 100%
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2531 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/strsplit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/strsplit.cc b/libs/pbd/strsplit.cc index b7a7109af4..342daadaa2 100644 --- a/libs/pbd/strsplit.cc +++ b/libs/pbd/strsplit.cc @@ -49,7 +49,7 @@ split (string str, vector<string>& result, char splitchar) remaining = str; - while ((pos = remaining.find_first_of (':')) != string::npos) { + while ((pos = remaining.find_first_of (splitchar)) != string::npos) { result.push_back (remaining.substr (0, pos)); remaining = remaining.substr (pos+1); } @@ -87,7 +87,7 @@ split (ustring str, vector<ustring>& result, char splitchar) remaining = str; - while ((pos = remaining.find_first_of (':')) != ustring::npos) { + while ((pos = remaining.find_first_of (splitchar)) != ustring::npos) { result.push_back (remaining.substr (0, pos)); remaining = remaining.substr (pos+1); } |