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: