Describe the bug
255dc2b Changed all uses of string.Trim with WireLib.Trim, failing to note that wire_filebrowser.lua and wire_listeditor.lua use the second arg of string.Trim, which wirelib's counterpart doesn't support. As a result, both of those scripts fail to remove any leading slashes in file paths they produce.
How to reproduce the bug
Copy any sound path from the wire sound browser, and notice the leading slash it produces.
e.g. buttons/button15.wav instead becomes /buttons/button15.wav
Describe the bug
255dc2b Changed all uses of
string.TrimwithWireLib.Trim, failing to note thatwire_filebrowser.luaandwire_listeditor.luause the second arg ofstring.Trim, which wirelib's counterpart doesn't support. As a result, both of those scripts fail to remove any leading slashes in file paths they produce.How to reproduce the bug
Copy any sound path from the wire sound browser, and notice the leading slash it produces.
e.g.
buttons/button15.wavinstead becomes/buttons/button15.wav