From aff70ef433f700bc17a35de6dd5375c020ea9d70 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 4 Apr 2019 20:55:30 +0200 Subject: [PATCH] pictureviewer: masking some more chars in event logo names Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6a1c0ab46bd92337d0d5367e44af2f311359aec8 Author: vanhofen Date: 2019-04-04 (Thu, 04 Apr 2019) Origin message was: ------------------ - pictureviewer: masking some more chars in event logo names ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/pictureviewer/pictureviewer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index 78ca49dee..d41e711ab 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -574,6 +574,9 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C EventName = str_replace(";", "-", EventName); EventName = str_replace(":", "-", EventName); EventName = str_replace("+", "-", EventName); + EventName = str_replace("'", "-", EventName); + EventName = str_replace("?", "-", EventName); + EventName = str_replace("!", "-", EventName); EventName = str_replace("&", "-", EventName); EventName = str_replace("ä", "ae", EventName); EventName = str_replace("ö", "oe", EventName);