Use `lfs.currentdir()` to get default `root_dir` as an absolute path

pull/219/head
Paulo Matias 11 years ago
parent 48d6020930
commit 04ebaf0964

@ -7,7 +7,7 @@ FileManager = InputContainer:extend{
title = _("FileManager"),
width = Screen:getWidth(),
height = Screen:getHeight(),
root_path = './',
root_path = lfs.currentdir(),
-- our own size
dimen = Geom:new{ w = 400, h = 600 },
onExit = function() end,

Loading…
Cancel
Save