summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-09-16 11:39:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-09-16 11:39:18 +0000
commit32cc3995955cff4b01f127b9d7ee1c350a8e084f (patch)
tree7d8f919229b4b523640f5a19b245d2817f54428e /gtk2_ardour/route_ui.cc
parent31abbdd17e878df2116de35ad8e47db9626d2a20 (diff)
revert debugging change from yesterday
git-svn-id: svn://localhost/ardour2/branches/3.0@10089 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index f3193f20e7..90de21d854 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -1368,14 +1368,10 @@ RouteUI::idle_remove_this_route (RouteUI *rui)
bool
RouteUI::verify_new_route_name (const std::string& name)
{
- string::size_type colon = name.find (':');
-
- if (colon == string::npos) {
+ if (name.find (':') == string::npos) {
return true;
}
- cerr << "There is a colon in " << name << " at pos " << colon << endl;
-
MessageDialog colon_msg (
_("The use of colons (':') is discouraged in track and bus names.\nDo you want to use this new name?"),
false, MESSAGE_QUESTION, BUTTONS_NONE