Skip to content

Commit

Permalink
Update %p to use finished edges after #1143.
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed Apr 28, 2016
1 parent 17a7d94 commit 24694d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ string BuildStatus::FormatProgressStatus(

// Percentage
case 'p':
percent = (100 * started_edges_) / total_edges_;
percent = (100 * finished_edges_) / total_edges_;
snprintf(buf, sizeof(buf), "%3i%%", percent);
out += buf;
break;
Expand Down

0 comments on commit 24694d9

Please sign in to comment.