From 31a08808aa7101907c280916f4d09a1feb82e017 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Oct 2011 23:22:00 +0000 Subject: Fix erroneous assertion. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3541 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/PatchImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp index 4f26473f..51ac89af 100644 --- a/src/server/PatchImpl.cpp +++ b/src/server/PatchImpl.cpp @@ -431,7 +431,7 @@ PatchImpl::build_ports_array() const for (Ports::const_iterator p = _outputs.begin(); p != _outputs.end(); ++p,++i) result->at(i) = *p; - assert(i == n - 1); + assert(i == n); return result; } -- cgit v1.2.1