fix for linux

This commit is contained in:
Dario 2020-07-21 11:38:35 +02:00
parent 515d4d18df
commit 4ccf6891e6

View File

@ -300,7 +300,15 @@ std::string Mnemonic::getCompleteWordListSorted()
words.sort(compare_nocase);
//std::string toReplaced[] = { "auml", "ouml", "uuml", "Auml", "Ouml", "Uuml", "szlig" };
Poco::RegularExpression toReplaced[] = { "ä", "ö", "ü", "Ä", "Ö", "Ü", "ß" };
Poco::RegularExpression toReplaced[] = {
std::string("ä"),
std::string("ö"),
std::string("ü"),
std::string("Ä"),
std::string("Ö"),
std::string("Uuml;"),
std::string("ß")
};
std::string replaceStrings[] = { "ä", "ö", "ü", "Ä", "Ö", "Ü", "ß" };
int i = 0;
for(auto it = words.begin(); it != words.end(); it++) {