v3.5.2: füge zweitnamenausgabe bei namenauswahl hinzu

This commit is contained in:
Markus 2019-10-31 14:16:27 +01:00
parent 8b21630e8f
commit 65f7a4eead
2 changed files with 2 additions and 2 deletions

View File

@ -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 = "",

View File

@ -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: