From dce6b8757de0d6a665bd67b2918d5668fd66e50a Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 27 Jan 2014 18:33:38 +0100 Subject: [PATCH] CLuaMenuForwarder: Fix error msg Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/da2738cd9e80e2403c66da841e0696edcf63e05a Author: Michael Liebmann Date: 2014-01-27 (Mon, 27 Jan 2014) --- 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 fe32b75a6..03d014a65 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -734,7 +734,7 @@ int CLuaMenuForwarder::exec(CMenuTarget* /*parent*/, const std::string & /*actio lua_pushstring(L, luaId.c_str()); int status = lua_pcall(L, 1 /* one arg */, 1 /* one result */, 0); if (status) { - fprintf(stderr, "[CLuaInstance::%s] error in script: %s\n", __func__, lua_tostring(L, -1)); + fprintf(stderr, "[CLuaMenuForwarder::%s] error in script: %s\n", __func__, lua_tostring(L, -1)); ShowMsg2UTF("Lua script error:", lua_tostring(L, -1), CMsgBox::mbrBack, CMsgBox::mbBack); } if (lua_isnumber(L, -1))