Fix "zone free" indentation in allocation list.

This commit is contained in:
Bartosz Taudul 2018-06-20 14:44:24 +02:00
parent bc565e65d1
commit a9fa8f966b

View File

@ -4947,9 +4947,9 @@ void View::ListMemData( T ptr, T end, std::function<const MemEvent*(T&)> DrawAdd
bool sel; bool sel;
if( zoneFree == zone ) if( zoneFree == zone )
{ {
sel = ImGui::Selectable( "", m_zoneInfoWindow == zoneFree ); ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 1.f, 1.f, 0.6f, 1.f ) );
ImGui::SameLine(); sel = ImGui::Selectable( txt, m_zoneInfoWindow == zoneFree );
ImGui::TextColored( ImVec4( 1.f, 1.f, 0.6f, 1.f ), "%s", txt ); ImGui::PopStyleColor( 1 );
} }
else else
{ {