diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-15 19:52:00 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-15 19:52:00 +0000 |
commit | 31abbdd17e878df2116de35ad8e47db9626d2a20 (patch) | |
tree | 318937f1c7c89ff5ba9849636793494a285e587c /gtk2_ardour/route_ui.cc | |
parent | 315f41f82f1e5e5cf941e83895848a6372670935 (diff) |
debug the impossible
git-svn-id: svn://localhost/ardour2/branches/3.0@10088 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 90de21d854..f3193f20e7 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -1368,10 +1368,14 @@ RouteUI::idle_remove_this_route (RouteUI *rui) bool RouteUI::verify_new_route_name (const std::string& name) { - if (name.find (':') == string::npos) { + string::size_type colon = name.find (':'); + + if (colon == 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 |