Clarify comment.
authorCarl Hetherington <cth@carlh.net>
Mon, 30 Dec 2024 22:06:53 +0000 (23:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 30 Dec 2024 22:07:44 +0000 (23:07 +0100)
src/lib/util.cc

index a515437a48b912aadbb479dc17c91209e7887a93..30a82ee508826e053f8aee15c25f542eca15df85 100644 (file)
@@ -786,9 +786,8 @@ string
 careful_string_filter (string s)
 {
        /* Filter out `bad' characters which `may' cause problems with some systems (either for DCP name or filename).
-          There's no apparent list of what really is allowed, so this is a guess.
-          Safety first and all that.
-       */
+        * I don't know of a list of what really is allowed, so this is a guess.
+        */
 
        /* First transliterate using libicu to try to remove accents in a "nice" way */
        auto transliterated = icu::UnicodeString::fromUTF8(icu::StringPiece(s));