1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-21 15:48:07 +00:00
This commit is contained in:
kepler155c@gmail.com
2017-10-11 16:31:48 -04:00
parent 852ad193f0
commit f9221e67be
6 changed files with 103 additions and 93 deletions

View File

@@ -21,7 +21,12 @@ function NFT.parse(imageText)
}
local num = 1
for _,sLine in ipairs(Util.split(imageText)) do
local lines = Util.split(imageText)
while #lines[#lines] == 0 do
table.remove(lines, #lines)
end
for _,sLine in ipairs(lines) do
table.insert(image.fg, { })
table.insert(image.bg, { })
table.insert(image.text, { })