From 65f7a4eead3b9176ae2379209ab14dec9bfa556a Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 31 Oct 2019 14:16:27 +0100 Subject: [PATCH] =?UTF-8?q?v3.5.2:=20f=C3=BCge=20zweitnamenausgabe=20bei?= =?UTF-8?q?=20namenauswahl=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parameterManager.h | 2 +- programManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parameterManager.h b/parameterManager.h index 9e8c607..19600b1 100644 --- a/parameterManager.h +++ b/parameterManager.h @@ -63,7 +63,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "3.5.1", + version = "3.5.2", defaultFileVersion="1.6", outputFilePath = "", default_checkPath = "", diff --git a/programManager.cpp b/programManager.cpp index a84b02a..14e94bc 100644 --- a/programManager.cpp +++ b/programManager.cpp @@ -199,7 +199,7 @@ int ProgramManager::sucheNach_1_Serien(Settings *settings, PageManager &pageMana std::cout << " => Error: Invalid Line: " << line << std::endl; return -21; } - std::cout << i << ": " << line.erase(0, line.find_last_of("|") + 1) << std::endl; + std::cout << i << ": " << line.substr(line.find_last_of("|") + 1) << ( (line[0] != '|') ? " ( " + line.substr(0, line.find("|")) + " )" : "" ) << std::endl; } //Lass Benutzer Zeile auswählen: