lua: msgbox fix

This commit is contained in:
martii
2013-05-08 21:58:10 +02:00
committed by M. Liebmann
parent 7b9adbe65b
commit 82be6f8e66

View File

@@ -1255,7 +1255,7 @@ int CLuaInstance::MessageboxExec(lua_State *L)
tmp = "cancel";
for (int i = 0; mbr[i].name; i++)
if (res == mbr[i].code) {
tmp == mbr[i].name;
tmp = mbr[i].name;
break;
}
lua_pushstring(L, tmp.c_str());