Fix off-by-one bug. [Found by 9r]
This commit is contained in:
parent
c62c06c087
commit
8ec395879b
|
@ -47,7 +47,7 @@ void changer(void){
|
|||
lcdPrint("[");
|
||||
lcdPrint(IntToStr(current_offset/visible_lines,1,0));
|
||||
lcdPrint("/");
|
||||
lcdPrint(IntToStr(numentries/visible_lines,1,0));
|
||||
lcdPrint(IntToStr((numentries-1)/visible_lines,1,0));
|
||||
lcdPrint("]");
|
||||
lcdNl();
|
||||
|
||||
|
|
Loading…
Reference in New Issue