From 29f0d9732eb68fcaa22219cedddddd47bcaa8c17 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 12 Oct 2007 01:54:35 +0000 Subject: add keybinding editor git-svn-id: svn://localhost/ardour2/trunk@2543 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/strsplit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/pbd/strsplit.cc') 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& 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& 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); } -- cgit v1.2.3