Skip to content
Browse files

o if there is a time, show it.

  • Loading branch information...
1 parent efe3975 commit 6d4f28bc396f1503933d5a7c6727035092b2fc0b @hzeller committed Sep 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 status-server.cc
View
2 status-server.cc
@@ -179,7 +179,7 @@ static void AppendFileInfo(std::string *result, const char *progress_style,
}
const int secs = stats.duration_seconds;
const int fract_sec = stats.progress * secs;
- if (secs > 0 && fract_sec > 0) {
+ if (secs >= 0 && fract_sec >= 0) {
Appendf(result, sTimeColumns,
fract_sec / 60, fract_sec % 60,
secs / 60, secs % 60);

0 comments on commit 6d4f28b

Please sign in to comment.
Something went wrong with that request. Please try again.