fileinfo doesn't reset results

This affects multiple entry into fileinfo which just accumulate
information, eventually scrolling off screen
This commit is contained in:
Dobrica Pavlinusic
2012-09-09 13:13:12 +02:00
parent 9c0b59c79e
commit d3aa98abb9

View File

@@ -32,6 +32,7 @@ end
function FileInfo:init(path, fname)
self.pathfile = path.."/"..fname
self.result = {}
-- add commands only once
if not self.commands then
self:addAllCommands()