Removed underscore from start of globals, added VERSION
eg. `_SCALE` => `SCALE` prevents conflict with lua's own _NAME globals
This commit is contained in:
@@ -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