# HG changeset patch # User Chris Cannam # Date 1479313452 0 # Node ID 1eefc20919cd080b684b2bbbc0af7270b8facb54 # Parent 24b1d94440f5e3a3fe2556286741cc20f085b397 Ah, this version should have been 2 diff -r 24b1d94440f5 -r 1eefc20919cd src/helper.cpp --- a/src/helper.cpp Wed Nov 16 16:12:42 2016 +0000 +++ b/src/helper.cpp Wed Nov 16 16:24:12 2016 +0000 @@ -155,7 +155,7 @@ typedef const void *(*DFn)(unsigned int, unsigned int); DFn fn = DFn(f); unsigned int index = 0; - while (fn(1, index)) ++index; + while (fn(2, index)) ++index; if (index == 0) return "Library contains no plugins"; // else cerr << "Library contains " << index << " plugin(s)" << endl; return "";