From 9ab09d98672737d6b5a3a8a8fd86a0e29e831700 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 17 Jul 2018 23:32:29 +0200 Subject: [PATCH] Only show "same zone" if zones are valid. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 85783414..c61afaf9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5230,7 +5230,7 @@ void View::DrawMemoryAllocWindow() } } - if( zoneAlloc == zoneFree ) + if( zoneAlloc != 0 && zoneAlloc == zoneFree ) { ImGui::SameLine(); ImGui::TextDisabled( "(same zone)" );