projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better error message if VST SDK is not installed and neeed
[ardour.git]
/
libs
/
ardour
/
utils.cc
diff --git
a/libs/ardour/utils.cc
b/libs/ardour/utils.cc
index f346f2a8a627fa2f7938026b1b14587cb4cb67e2..d6c767de12a184a3fb302e493507353b1417cf83 100644
(file)
--- a/
libs/ardour/utils.cc
+++ b/
libs/ardour/utils.cc
@@
-213,7
+213,7
@@
region_name_from_path (string path)
/* remove any "?R", "?L" or "?[a-z]" channel identifier */
string::size_type len = path.length();
-
+
if (len > 3 && (path[len-2] == '%' || path[len-2] == '?') &&
(path[len-1] == 'R' || path[len-1] == 'L' || (islower (path[len-1])))) {