Origin commit data
------------------
Commit: 270a60687c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-03 (Sun, 03 Apr 2016)
This commit is contained in:
Jacek Jendrzej
2016-04-03 11:05:21 +02:00
parent ff43e80f8e
commit 9e5bc3ec15

View File

@@ -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;