diff --git a/golded3/geinit.cpp b/golded3/geinit.cpp index 7caf0c0..84e6cba 100644 --- a/golded3/geinit.cpp +++ b/golded3/geinit.cpp @@ -452,23 +452,30 @@ static bool FindCfg(char* path) { bool found = false; if(!is_dir(path)) { - if(fexist(path)) + if(veryverbose) STD_PRINT("Try config file \"" << path << "\"... "); + if(fexist(path)) { + if(veryverbose) STD_PRINTNL("File found!"); return true; - else + } else { + if(veryverbose) STD_PRINTNL("file not found."); return false; - } + } + }else if(veryverbose) STD_PRINTNL("Try config dir \"" << path << "\":"); AddBackslash(path); #ifdef GEDCFG2 found = ExistCfg(path, GEDCFG2); + if(veryverbose) STD_PRINTNL( "Try config file \"" << path << (GEDCFG2) << + "\"... " << (found?("Found!"):("not found.")) ); #endif if(not found) found = ExistCfg(path, GEDCFG); + if(veryverbose) STD_PRINTNL( "Try config file \"" << path << (GEDCFG) << + "\"... " << (found?("Found!"):("not found.")) ); return found; } - // ------------------------------------------------------------------ #ifdef __WIN32__