1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

minor correction

This commit is contained in:
Adrien Bourmault 2019-05-11 10:42:34 +02:00
parent 99a9bbaf5d
commit 5f539e169f

View File

@ -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);
}