forked from markus/S_New4
v2.5.3 fix missing !
This commit is contained in:
parent
662a787d44
commit
34c1fc637f
@ -183,7 +183,7 @@ int loadDefaulOptions(Settings &settings)
|
||||
|
||||
} else if (what == "default-maxThreads") {
|
||||
settings.maxThreads = static_cast<unsigned>(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) {
|
||||
|
@ -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 = "",
|
||||
|
Loading…
Reference in New Issue
Block a user