diff options
Diffstat (limited to 'libs/core')
-rw-r--r-- | libs/core/luasrc/util.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 0a30b163a..d79f93b1d 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -200,16 +200,16 @@ function strip_bytecode(dump) val = val * 256 + dump:byte(i + n - 1) end return val, i + l - end + end else - subint = function(dump, i, l) - local val = 0 - for n = 1, l, 1 do - val = val * 256 + dump:byte(i + n - 1) - end - return val, i + l - end - end + subint = function(dump, i, l) + local val = 0 + for n = 1, l, 1 do + val = val * 256 + dump:byte(i + n - 1) + end + return val, i + l + end + end local strip_function strip_function = function(dump) |