2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

No need for the local variable 'title'

This commit is contained in:
Tigran Aivazian 2012-10-07 15:20:31 +01:00
parent e9913dce40
commit 7fe288ace3

View File

@ -498,8 +498,7 @@ function FileChooser:addAllCommands()
self.commands:add(KEY_H,nil,"H", self.commands:add(KEY_H,nil,"H",
"show help page", "show help page",
function(self) function(self)
local title="Hotkeys "..G_program_version HelpPage:show(0, G_height, self.commands, "Hotkeys "..G_program_version)
HelpPage:show(0, G_height, self.commands, title)
self.pagedirty = true self.pagedirty = true
end end
) )