From: Alex Schmidt Date: Fri, 12 Oct 2012 12:09:03 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/3eb3a1c16cd9d9f76a21d29194301cd69f77eca6 ... --- diff --git a/configcache.cpp b/configcache.cpp index f3c02de..3d160a9 100644 --- a/configcache.cpp +++ b/configcache.cpp @@ -73,8 +73,8 @@ bool configcache::isValidInFile(const string& infile) switch(iPart) { case 1: if(inParts != CACHEID) return false; break; - case 2: if(atoi(inParts) < NEQUI) return false; break; - case 3: if(atoi(inParts) < NSKIP) return false; break; + case 2: if(atoi(inParts) != NEQUI) return false; break; + case 3: if(atoi(inParts) != NSKIP) return false; break; } inParts = strtok( NULL, "_"); }