Removed underscore from start of globals, added VERSION

eg. `_SCALE` => `SCALE`
prevents conflict with lua's own _NAME globals
This commit is contained in:
rxi
2020-04-25 09:58:01 +01:00
parent bd43ed3e3f
commit c658b6f1ca
6 changed files with 30 additions and 27 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ function common.path_suggest(text)
local info = system.get_file_info(file)
if info then
if info.type == "dir" then
file = file .. _PATHSEP
file = file .. PATHSEP
end
if file:lower():find(text:lower(), nil, true) == 1 then
table.insert(res, file)