Trim include dependency graph, especially for io.h and session.h.

Clean up some stuff and other such gruntwork in the process.


git-svn-id: svn://localhost/ardour2/branches/3.0@4468 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-01-30 20:18:31 +00:00
parent a384dab130
commit aaa91db6d9
58 changed files with 425 additions and 387 deletions

View file

@ -117,12 +117,12 @@ ControlProtocol::prev_track (uint32_t initial_id)
}
if (id < 0) {
id = limit;
while (id > initial_id) {
if ((cr = session->route_by_remote_id (id)) != 0) {
uint32_t i = limit;
while (i > initial_id) {
if ((cr = session->route_by_remote_id (i)) != 0) {
break;
}
id--;
i--;
}
}