aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index fd5542e..cc23b26 100644
--- a/files.lua
+++ b/files.lua
@@ -86,6 +86,15 @@ function updateFiles()
win[7].update = true
end
openFileWindow(7)
+ elseif files == f.documents then
+ if i == 1 and doc.doc ~= doc.help then
+ doc.doc = doc.help
+ win[10].update = true
+ elseif i == 2 and doc.doc ~= doc.credits then
+ doc.doc = doc.credits
+ win[10].update = true
+ end
+ openFileWindow(10)
elseif files == f.videos then
if i == 1 and vplay.v ~= video.attacktortoise then
if vplay.v ~= 0 then