add keybinding editor
git-svn-id: svn://localhost/ardour2/trunk@2543 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user