mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
UPD: Better Lua version check
This commit is contained in:
parent
b61fa6a1e2
commit
2ee46cc7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ function LuaCheckVersion: Boolean;
|
|||
begin
|
||||
Result:= True;
|
||||
if Assigned(lua_version) then begin
|
||||
Result:= (lua_version(nil)^ = LUA_VERSION_NUM);
|
||||
Result:= (Trunc(lua_version(nil)^) = LUA_VERSION_NUM);
|
||||
end;
|
||||
Result:= Result and (luaJIT = False);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue