1
0
mirror of synced 2024-11-28 09:30:51 +01:00

Remove extra new line if file has low entropy

This commit is contained in:
WerWolv 2020-11-12 12:01:13 +01:00
parent 5ba3badcbf
commit 6512d22981

View File

@ -106,10 +106,10 @@ namespace hex {
ImGui::LabelText("Average entropy", "%.8f", this->m_averageEntropy);
ImGui::LabelText("Highest entropy block", "%.8f", this->m_highestBlockEntropy);
if (this->m_averageEntropy > 0.83 && this->m_highestBlockEntropy > 0.9) {
ImGui::NewLine();
if (this->m_averageEntropy > 0.83 && this->m_highestBlockEntropy > 0.9)
ImGui::TextColored(ImVec4(0.92F, 0.25F, 0.2F, 1.0F), "This data is most likely encrypted or compressed!");
}
ImGui::NewLine();
ImGui::Separator();