Simplify condition.

This commit is contained in:
Bartosz Taudul 2024-10-16 00:11:57 +02:00
parent c2b4e81493
commit 44bb5d474b
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -213,9 +213,7 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
continue;
}
}
else
{
if( external != 0 )
else if( external != 0 )
{
ImGui::TableNextRow();
ImGui::TableNextColumn();
@ -233,7 +231,6 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
ImGui::PopFont();
external = 0;
}
}
ImGui::TableNextRow();
ImGui::TableNextColumn();