Removed underscore from start of globals, added VERSION
eg. `_SCALE` => `SCALE` prevents conflict with lua's own _NAME globals
This commit is contained in:
1 parent
bd43ed3e3f
commit
c658b6f1ca
6 files changed
+30
-27
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user