MCP: off by one error
git-svn-id: svn://localhost/ardour2/branches/3.0@11967 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
69830c477e
commit
e36aa889eb
|
@ -1357,12 +1357,11 @@ MackieControlProtocol::pull_route_range (DownButtonList& down, RouteList& select
|
|||
|
||||
if ((*s)->number() == last_surface) {
|
||||
ls = last_strip;
|
||||
ls += 1;
|
||||
} else {
|
||||
ls = (*s)->n_strips ();
|
||||
}
|
||||
|
||||
ls += 1;
|
||||
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("adding strips for surface %1 (%2 .. %3)\n",
|
||||
(*s)->number(), fs, ls));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user