mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
supplement to 619dacbc2e
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <global.h>
|
||||
#include <system/debug.h>
|
||||
#include <gui/widget/menue.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <driver/volume.h>
|
||||
#include <gui/audiomute.h>
|
||||
#include <gui/infoclock.h>
|
||||
@@ -315,7 +316,8 @@ int CLuaInstMisc::checkVersion(lua_State *L)
|
||||
LUA_API_VERSION_MAJOR, LUA_API_VERSION_MINOR,
|
||||
g_Locale->getText(LOCALE_LUA_VERSIONSCHECK2),
|
||||
major, minor);
|
||||
luaL_error(L, msg);
|
||||
DisplayErrorMessage(msg, "Lua Script Error:");
|
||||
|
||||
}
|
||||
lua_pushinteger(L, 1); /* for backward compatibility */
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user