13
0

Fix comparison of < 0 with bool.

git-svn-id: svn://localhost/ardour2/branches/3.0@8623 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-31 14:19:15 +00:00
parent 66c9e166f8
commit d46766aeff

View File

@ -536,7 +536,7 @@ PluginInsert::plugin_factory (boost::shared_ptr<Plugin> other)
bool bool
PluginInsert::configure_io (ChanCount in, ChanCount out) PluginInsert::configure_io (ChanCount in, ChanCount out)
{ {
if (set_count (count_for_configuration (in, out)) < 0) { if (set_count (count_for_configuration (in, out)) == false) {
return false; return false;
} }
@ -547,7 +547,7 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
if we running a single plugin, we need to configure it. if we running a single plugin, we need to configure it.
*/ */
if (_plugins.front()->configure_io (in, out) < 0) { if (_plugins.front()->configure_io (in, out) == false) {
return false; return false;
} }