diff --git a/lua.cpp b/lua.cpp index 05b9fb14138..c28cc22b813 100644 --- a/lua.cpp +++ b/lua.cpp @@ -2256,7 +2256,7 @@ void getTextObjectParams(TextObject *textObject, lua_Object table_obj) { else if (strmatch(key_text, "fgcolor")) textObject->setFGColor(check_color(2)); else if (strmatch(key_text, "hicolor")) - warning("getTextObjectParams 'hivolor'"); + warning("getTextObjectParams 'hicolor'"); else if (strmatch(key_text, "disabled")) textObject->setDisabled(atoi(lua_getstring(lua_getresult(2))) != 0); else if (strmatch(key_text, "center"))