minor correction
This commit is contained in:
parent
99a9bbaf5d
commit
5f539e169f
|
@ -88,7 +88,7 @@ void IoScrollDown(void)
|
|||
void IoScrollUp(void)
|
||||
{
|
||||
// Keep the 8 below the 10 given to BOpenTermBufEx
|
||||
if (bscroll < BtVideoInfo.framebufferHeight * 8)
|
||||
if (bscroll < BtVideoInfo.framebufferHeight * 8 && bscroll < BStdOut->nLines)
|
||||
bscroll++;
|
||||
bvgaflusher(BStdOut);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue