Fix calculation of lines.

This commit is contained in:
Bartosz Taudul 2018-04-02 20:11:55 +02:00
parent 1bb1cf9e6c
commit 81c84025a2

View File

@ -3958,7 +3958,7 @@ void View::DrawMemory()
if( pages[i].empty() )
{
i++;
while( pages[i].empty() )
while( i < pages.size() && pages[i].empty() )
{
lines--;
i++;