CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"

Origin commit data
------------------
Branch: ni/coolstream
Commit: 73446dbc52
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-27 (Mon, 27 Jan 2014)

Origin message was:
------------------
- CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-01-27 11:47:40 +01:00
parent e9643a6d05
commit 33e52be164

View File

@@ -887,6 +887,8 @@ int CLuaInstance::MenuAddItem(lua_State *L)
if (type == "back") {
m->m->addItem(GenericMenuBack);
} else if (type == "separator") {
m->m->addItem(GenericMenuSeparator);
} else if (type == "separatorline") {
if (!b->name.empty()) {
m->m->addItem(new CMenuSeparator(CMenuSeparator::STRING | CMenuSeparator::LINE, b->name.c_str(), NONEXISTANT_LOCALE));
} else {