Fixed byte(string) bug introduced with last commit.

This commit is contained in:
g012 2017-09-21 23:20:05 +02:00
parent a069b21c91
commit 63cdd88f21
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ M.byte_impl = function(args, nrm)
local data,cs = {},M.cs
for k,v in ipairs(args) do
local t = type(v)
if t == 'number' or t == 'function' or t == 'string' then data[#data+1] = v
if t == 'number' or t == 'function' then data[#data+1] = v
elseif t == 'table' then table.move(v,1,#v,#data+1,data)
elseif t == 'string' then
if cs then