Skip to content

Commit 17a4419

Browse files
committed
Overlay: Font - report unsupported parameter
1 parent 00b39ad commit 17a4419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Components/Overlay/src/OgreOverlayTranslator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void FontTranslator::parseAttribute(ScriptCompiler* compiler, FontPtr& pFont,
132132
else if (prop->values.empty() || !getString(prop->values.front(), &val) ||
133133
!pFont->setParameter(attrib, val))
134134
{
135-
compiler->addError(ScriptCompiler::CE_INVALIDPARAMETERS, prop->file, prop->line);
135+
compiler->addError(ScriptCompiler::CE_INVALIDPARAMETERS, prop->file, prop->line, attrib);
136136
}
137137
}
138138

0 commit comments

Comments
 (0)