Skip to content

Commit dc96f43

Browse files
committed
Minor clarification and adjustment
1 parent 765c030 commit dc96f43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To add music, either drag and drop your music on the window or make sure you run
1010

1111
### Features:
1212
- drag and drop
13-
- fully scaling ui
13+
- scalable ui
1414
- realtime ffi-implemented rfft calculations (really fast and efficient spectrum generation)
1515
- decoder/queueable audio support
1616
- ID3 metadata support (gets song name/artist when stored in mp3)

TSerial.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function TSerial.unpack(s, safe)
5353
if s == nil then return nil, nil end
5454
if safe then s = string.match(s, "(%b{})") end
5555
assert(type(s) == "string", "Can only TSerial.unpack strings.")
56-
local f, result = loadstring("local data="..s.."\nreturn data")
56+
local f, result = loadstring("return "..s)
5757
if not safe then assert(f,result) elseif not f then return nil, result end
5858
return f(), nil
5959
end

0 commit comments

Comments
 (0)