mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
lua: msgbox fix
This commit is contained in:
@@ -1255,7 +1255,7 @@ int CLuaInstance::MessageboxExec(lua_State *L)
|
|||||||
tmp = "cancel";
|
tmp = "cancel";
|
||||||
for (int i = 0; mbr[i].name; i++)
|
for (int i = 0; mbr[i].name; i++)
|
||||||
if (res == mbr[i].code) {
|
if (res == mbr[i].code) {
|
||||||
tmp == mbr[i].name;
|
tmp = mbr[i].name;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
lua_pushstring(L, tmp.c_str());
|
lua_pushstring(L, tmp.c_str());
|
||||||
|
Reference in New Issue
Block a user