forked from len0rd/rockbox
lua -- temp loader
fix a few bugs, improve memory usage Change-Id: I6ceefd033000a6178eab0dd513679b5d72cec81c
This commit is contained in:
parent
15ad1c42db
commit
adff45ca21
7 changed files with 233 additions and 99 deletions
|
@ -337,7 +337,7 @@ function print_table(t, t_count, settings)
|
|||
table_p = init_position(15, 5)
|
||||
line, maxline = _print.opt.area(5, 1, rb.LCD_WIDTH - 10 - sb_width, rb.LCD_HEIGHT - 2)
|
||||
|
||||
if curpos > maxline then
|
||||
if (curpos or 0) > maxline then
|
||||
local c = maxline / 2
|
||||
start = (start or 1) + curpos - maxline
|
||||
curpos = maxline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue