diff --git a/parameterManager.cpp b/parameterManager.cpp index 7ec87de..05aaab7 100644 --- a/parameterManager.cpp +++ b/parameterManager.cpp @@ -183,7 +183,7 @@ int loadDefaulOptions(Settings &settings) } else if (what == "default-maxThreads") { settings.maxThreads = static_cast(atoi(data.c_str())); - if(isNumber(data) ) { + if(!isNumber(data) ) { std::cout << " => Error_Defaults: Thread-Max Ungültige Zahl: " << data << std::endl; return 18; } else if (settings.maxThreads > 10) { diff --git a/parameterManager.h b/parameterManager.h index 62e4fa3..20336ad 100644 --- a/parameterManager.h +++ b/parameterManager.h @@ -38,7 +38,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng", genaueHoster = "", - version = "2.5.2", + version = "2.5.3", defaultFileVersion="1.3", outputFilePath = "", default_checkPath = "",