From dc79a18d7a2957d740ff78885a7d3a5ba04c95d3 Mon Sep 17 00:00:00 2001 From: Markus Date: Mon, 11 Nov 2019 19:43:06 +0100 Subject: [PATCH] fix ausgabefehler zu v3.7.2 => v3.7.3 --- src/parameterManager.h | 2 +- src/programManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parameterManager.h b/src/parameterManager.h index f25efe1..38096fb 100644 --- a/src/parameterManager.h +++ b/src/parameterManager.h @@ -81,7 +81,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "3.7.2", + version = "3.7.3", defaultFileVersion="1.6", outputFilePath = "", default_checkPath = "", diff --git a/src/programManager.cpp b/src/programManager.cpp index ffd0aea..e0f1a45 100644 --- a/src/programManager.cpp +++ b/src/programManager.cpp @@ -1063,7 +1063,7 @@ int ProgramManager::updateModus(Settings *settings) if(neusteVersion.find(".") == std::string::npos) { size_t pos; if((pos = html.find("h1>")) != std::string::npos) - std::cout << " => Das herunterladen ist fehlgeschlagen: " << html.substr(pos + 3, html.find("") - pos); + std::cout << " => Das herunterladen ist fehlgeschlagen: '" << html.substr(pos + 3, html.find("") - pos -3) << "'." << std::endl; else std::cout << " => Error: Die neuste Version ist ungültig: '" << neusteVersion << "'." << std::endl; return -3;