FIX: Use correct result value

This commit is contained in:
Alexander Koblov 2017-06-18 06:16:16 +00:00
commit ea74b46478

View file

@ -145,8 +145,7 @@ begin
luaL_argerror(L, 1, lua_tostring(L, -1));
end;
lua_replace(L, 1);
f_lines(L);
Result:= 1;
Result := f_lines(L);
end;
end;