Skip to content

Commit

Permalink
Fix progress bar width
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Feb 3, 2022
1 parent 57d16ba commit f047a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/ProgressIndication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void ProgressIndication::writeProgress()

if (width_of_progress_bar > 0)
{
size_t bar_width = UnicodeBar::getWidth(current_count, 0, max_count, width_of_progress_bar);
double bar_width = UnicodeBar::getWidth(current_count, 0, max_count, width_of_progress_bar);
std::string bar = UnicodeBar::render(bar_width);

/// Render profiling_msg at left on top of the progress bar.
Expand Down

0 comments on commit f047a28

Please sign in to comment.