Only show "same zone" if zones are valid.

This commit is contained in:
Bartosz Taudul 2018-07-17 23:32:29 +02:00
parent 84d0f1a3ea
commit 9ab09d9867

View File

@ -5230,7 +5230,7 @@ void View::DrawMemoryAllocWindow()
}
}
if( zoneAlloc == zoneFree )
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
{
ImGui::SameLine();
ImGui::TextDisabled( "(same zone)" );