Update helppage.lua

Fixed crash of heplpage 'cause of typo: tfont > tface
This commit is contained in:
NuPogodi
2012-09-07 12:46:46 +03:00
committed by Dobrica Pavlinusic
parent 6c9fb8b023
commit a5496b83c6

View File

@@ -59,7 +59,7 @@ function HelpPage:show(ypos, height, commands, title)
while true do
if is_pagedirty then
fb.bb:paintRect(0, ypos, fb.bb:getWidth(), height, 0)
DrawTitle(title or "Active Hotkeys",self.margin_H,0,self.title_H,self.bg_color,tfont)
DrawTitle(title or "Active Hotkeys",self.margin_H,0,self.title_H,self.bg_color,tface)
local c
local max_x = 0
for c = 1, perpage do