changeset 25:1eefc20919cd

Ah, this version should have been 2
author Chris Cannam
date Wed, 16 Nov 2016 16:24:12 +0000
parents 24b1d94440f5
children 2cc992ed9b42
files src/helper.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 "";