From 16a259548816eacf95bab49630f853dba5ef7a5d Mon Sep 17 00:00:00 2001 From: martii Date: Wed, 8 May 2013 21:58:10 +0200 Subject: [PATCH] lua: msgbox fix Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/82be6f8e666ad8f025fc6ebc784a0768869d5048 Author: martii Date: 2013-05-08 (Wed, 08 May 2013) --- src/gui/luainstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 93ed8de87..1d232a6d3 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -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());