forked from markus/S_New4
default file v: 1.7: fix: name with '-' -> '_'
This commit is contained in:
parent
dc79a18d7a
commit
b4310cbf13
@ -191,7 +191,7 @@ int loadDefaulOptions(Settings &settings)
|
||||
ofs << "#search-AchteAufGroßUndKleinschreibung=false" << std::endl << std::endl;
|
||||
|
||||
ofs << "# -> Mit 0 Können Sie die Warnung deaktivieren:" << std::endl;
|
||||
ofs << "#search-UpdateWarnungNachTagen=10" << std::endl << std::endl;
|
||||
ofs << "#search_UpdateWarnungNachTagen=10" << std::endl << std::endl;
|
||||
|
||||
ofs.close();
|
||||
}
|
||||
@ -304,15 +304,15 @@ int loadDefaulOptions(Settings &settings)
|
||||
if(settings.debugMode)
|
||||
std::cout << " > Defaults: OutputFile: " << settings.outputFilePath << std::endl;
|
||||
|
||||
} else if (what == "search-UpdateWarnungNachTagen") {
|
||||
} else if (what == "search_UpdateWarnungNachTagen") {
|
||||
if(!isNumber(data)) {
|
||||
std::cout << " Error_Defaults: search-UpdateWarnungNachTagen: Wert ist keine Zahl." << std::endl;
|
||||
std::cout << " Error_Defaults: search_UpdateWarnungNachTagen: Wert ist keine Zahl." << std::endl;
|
||||
return 228;
|
||||
} else {
|
||||
settings.updateWarningDays = atoi(data.c_str());
|
||||
}
|
||||
if(settings.debugMode)
|
||||
std::cout << " > Defaults: search-UpdateWarnungNachTagen: " << settings.updateWarningDays << std::endl;
|
||||
std::cout << " > Defaults: search_UpdateWarnungNachTagen: " << settings.updateWarningDays << std::endl;
|
||||
|
||||
} else if (what == "") {
|
||||
|
||||
@ -851,7 +851,7 @@ void unterOption_search_help(std::string programName)
|
||||
|
||||
std::cout << "AKTUALISIERUNGSWARNUNG:" << std::endl
|
||||
<< " In der Defaults Datei findest du die Einstellung" << std::endl
|
||||
<< " 'search-UpdateWarnungNachTagen' mit der du festlegen kannst," << std::endl
|
||||
<< " 'search_UpdateWarnungNachTagen' mit der du festlegen kannst," << std::endl
|
||||
<< " nach wie vielen Tagen du an das Updaten erinert wirst." << std::endl
|
||||
<< " Default: 10 Tage." << std::endl << std::endl;
|
||||
|
||||
|
@ -82,7 +82,7 @@ struct Settings {
|
||||
languages = "GerDub,GerSub,Eng,",
|
||||
genaueHoster = "",
|
||||
version = "3.7.3",
|
||||
defaultFileVersion="1.6",
|
||||
defaultFileVersion="1.7",
|
||||
outputFilePath = "",
|
||||
default_checkPath = "",
|
||||
default_Searchmuster = "S%Staffel%E%Folge%";
|
||||
|
Loading…
Reference in New Issue
Block a user