Fix label tagged text error reporting
This commit is contained in:
parent
e959c0ec1d
commit
5f7da5ddc5
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ namespace psemek::ui
|
||||||
if (tag == "bold" || tag == "uline" || tag == "strike")
|
if (tag == "bold" || tag == "uline" || tag == "strike")
|
||||||
{
|
{
|
||||||
if (attribute)
|
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")
|
else if (tag == "color")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue