lua: msgbox fix

Origin commit data
------------------
Commit: 82be6f8e66
Author: martii <m4rtii@gmx.de>
Date: 2013-05-08 (Wed, 08 May 2013)
This commit is contained in:
martii
2013-05-08 21:58:10 +02:00
committed by Michael Liebmann
parent 741f1a5aab
commit 16a2595488

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());