OSDN Git Service

Substituion filters page: Fix the garbled message that is displayed when you enter...
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Wed, 20 Sep 2023 12:20:35 +0000 (21:20 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Wed, 20 Sep 2023 12:20:35 +0000 (21:20 +0900)
Src/SubstitutionFiltersList.cpp

index 0ae6caf..09cdbe7 100644 (file)
@@ -276,7 +276,7 @@ std::shared_ptr<SubstitutionList> SubstitutionFiltersList::MakeSubstitutionList(
                                if (throwIfInvalid)
                                {
                                        plist.reset();
-                                       const String msg = strutils::format(_T("#%d: %s"), i + 1, e.message().c_str());
+                                       const String msg = strutils::format(_T("#%d: %S"), i + 1, e.message().c_str());
                                        throw Poco::RegularExpressionException(ucr::toUTF8(msg).c_str(), e.code());
                                }
                        }