diff src/helper.cpp @ 25:1eefc20919cd

Ah, this version should have been 2
author Chris Cannam
date Wed, 16 Nov 2016 16:24:12 +0000
parents 65b6c64992dd
children 62a0cda8b099
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 "";