fix: Invalid parameters passed to task progress bar formatter

This commit is contained in:
WerWolv 2024-01-27 14:15:05 +01:00
parent 11f75f72ee
commit 823881f7f1
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ namespace hex::plugin::builtin {
if (progress < 0)
progressString = "";
else
progressString = hex::format("[ {}/{} ({:.1f}%) ] ", frontTask->getValue() / frontTask->getMaxValue(), progress * 100.0F);
progressString = hex::format("[ {}/{} ({:.1f}%) ] ", frontTask->getValue(), frontTask->getMaxValue(), progress * 100.0F);
ImGuiExt::InfoTooltip(hex::format("{}{}", progressString, Lang(frontTask->getUnlocalizedName())).c_str());