From 81c84025a2ba5d05fc08dc90d3d74b3a7fb32611 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 2 Apr 2018 20:11:55 +0200 Subject: [PATCH] Fix calculation of lines. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 704fb930..cde1a73b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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++;