From: Alex Schmidt Date: Wed, 19 Jun 2013 18:54:03 +0000 (+0200) Subject: minor changes to test. X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/20acc11c8054200c02794f58e3cc63851b5627ff minor changes to test. --- diff --git a/configcache.cpp b/configcache.cpp index 4c7963d..0cabc9d 100644 --- a/configcache.cpp +++ b/configcache.cpp @@ -193,7 +193,8 @@ void configcache::readConfig(bool& readnewconfig, int& nequileft, vectorreadConfig(readnewconfig_nonex, nequileftReadConfig_nonex, &parentConfigs); + C->readConfig(readAtLeastOneConfig, nequileft, &parentConfigs); - if (readnewconfig_nonex) { - nequileft = nequileftReadConfig_nonex; - readAtLeastOneConfig = true; - } - - if ( nequileft < 0 && readnewconfig_nonex ) + if ( nequileft < 0 && readAtLeastOneConfig ) activeCFile = fileOfPath(C->getInFileName()); else activeCFile = "";