diff --git a/libs/ui/source/label.cpp b/libs/ui/source/label.cpp index e9a30880..ebb1cdae 100644 --- a/libs/ui/source/label.cpp +++ b/libs/ui/source/label.cpp @@ -40,7 +40,7 @@ namespace psemek::ui if (tag == "bold" || tag == "uline" || tag == "strike") { if (attribute) - throw std::runtime_error("tag [" + std::string(tag) + " doesn't support attributes"); + throw std::runtime_error("tag [" + tag + "] doesn't support attributes"); } else if (tag == "color") {