diff --git a/Components/Overlay/src/OgreOverlayTranslator.cpp b/Components/Overlay/src/OgreOverlayTranslator.cpp index 57fcb4760bf..04401cee398 100644 --- a/Components/Overlay/src/OgreOverlayTranslator.cpp +++ b/Components/Overlay/src/OgreOverlayTranslator.cpp @@ -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); } }