From 34c1fc637fd4a37df9905d339e9f2efa3c26de58 Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 31 Aug 2019 21:33:15 +0200 Subject: [PATCH] v2.5.3 fix missing ! --- parameterManager.cpp | 2 +- parameterManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = "",