From 20acc11c8054200c02794f58e3cc63851b5627ff Mon Sep 17 00:00:00 2001 From: Alex Schmidt Date: Wed, 19 Jun 2013 20:54:03 +0200 Subject: [PATCH] minor changes to test. --- configcache.cpp | 3 ++- hypercache.cpp | 13 +++---------- 2 files changed, 5 insertions(+), 11 deletions(-) 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 = ""; -- 2.39.5