From 4115d786f9c51b1694b46117aa5ef2f055891f31 Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 7 Mar 2020 21:47:24 +0100 Subject: [PATCH] v4.0.1: fix Wrong pos of 0 at log time: unter 10 zero before double point --- src/logger.cpp | 4 ++-- src/parameterManager.cpp | 2 +- src/parameterManager.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/logger.cpp b/src/logger.cpp index 36dc2f4..12d3903 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -26,8 +26,8 @@ int Logger::logCommandLine(std::string logText) std::string date((tm_now->tm_mday < 10 ? "0" : "") + std::to_string(tm_now->tm_mday) + "." + (tm_now->tm_mon +1 < 10 ? "0" : "" ) + std::to_string(tm_now->tm_mon +1) + "." + std::to_string(1900 + tm_now->tm_year) + " - " + - (tm_now->tm_hour < 10 ? "0" : "" ) + std::to_string(tm_now->tm_hour) + - (tm_now->tm_min < 10 ? "0" : "" ) + ":" + std::to_string(tm_now->tm_min)); + (tm_now->tm_hour < 10 ? "0" : "" ) + std::to_string(tm_now->tm_hour) + ":" + + (tm_now->tm_min < 10 ? "0" : "" ) + std::to_string(tm_now->tm_min)); return writetoFile( " -> " + date + ": \"" + logText + "\""); } diff --git a/src/parameterManager.cpp b/src/parameterManager.cpp index 6687a6b..2002f4d 100644 --- a/src/parameterManager.cpp +++ b/src/parameterManager.cpp @@ -366,7 +366,7 @@ int unterOption_help(Settings &settings) << "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl << "\t\"--update\"\tModus um das Programm zu aktualisieren." << std::endl << "\t \tUpdater funktioniert nur bei: Windows/Linux -" << std::endl - << "\t \tx86 Architekutur - 64 Bit Systemen." << std::endl + << "\t \tx86 Architekutur - 64 Bit Systemen und ARM v6 Syst." << std::endl << "\t\"--remove\"\tModus um Ordner mit Einstellungen/" << std::endl << "\t \tZwischengespeicherte-Dateien zu löschen." << std::endl << "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl diff --git a/src/parameterManager.h b/src/parameterManager.h index 9276e97..61b7dba 100644 --- a/src/parameterManager.h +++ b/src/parameterManager.h @@ -91,7 +91,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "4.0.0", + version = "4.0.1", defaultFileVersion="1.8", default_checkPath = "", default_Searchmuster = "S%Staffel%E%Folge%";