diff options
author | Richard Geary <richardg.work@gmail.com> | 2013-08-22 22:08:12 (GMT) |
---|---|---|
committer | Richard Geary <richardg.work@gmail.com> | 2013-08-22 22:08:12 (GMT) |
commit | 9e9102a8b84ffea87e2afc97c8fd1981e8742274 (patch) | |
tree | c7e7cf405df3909046cd136639e7ef59b0d3a74d /src/build.h | |
parent | 40b51a0b986b8675e15b0cd1b10c272bf51fdb84 (diff) | |
download | Ninja-9e9102a8b84ffea87e2afc97c8fd1981e8742274.zip Ninja-9e9102a8b84ffea87e2afc97c8fd1981e8742274.tar.gz Ninja-9e9102a8b84ffea87e2afc97c8fd1981e8742274.tar.bz2 |
Fix for incorrect number of total edges in the status message
Diffstat (limited to 'src/build.h')
-rw-r--r-- | src/build.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.h b/src/build.h index a872f6c..aa96512 100644 --- a/src/build.h +++ b/src/build.h @@ -51,7 +51,7 @@ struct Plan { Edge* FindWork(); /// Returns true if there's more work to be done. - bool more_to_do() const { return (command_edges_ > 0); } + bool more_to_do() const { return (wanted_edges_ > 0) && (command_edges_ > 0); } /// Dumps the current state of the plan. void Dump(); |