Skip to content

Commit

Permalink
Overlay: Font - report unsupported parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Oct 22, 2024
1 parent dc2b422 commit 955c63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/Overlay/src/OgreOverlayTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void FontTranslator::parseAttribute(ScriptCompiler* compiler, FontPtr& pFont,
else if (prop->values.empty() || !getString(prop->values.front(), &val) ||
!pFont->setParameter(attrib, val))
{
compiler->addError(ScriptCompiler::CE_INVALIDPARAMETERS, prop->file, prop->line);
compiler->addError(ScriptCompiler::CE_INVALIDPARAMETERS, prop->file, prop->line, attrib);
}
}

Expand Down

0 comments on commit 955c63b

Please sign in to comment.