summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-11-28 21:48:42 +0000
committerishmal <ishmal@users.sourceforge.net>2006-11-28 21:48:42 +0000
commit1771f75acfa7be7dc3a79f7bd23403738f572d49 (patch)
tree7c456dbea931d36ca195e6f3dabff52ecc73d31d /buildtool.cpp
parentremove tabs, add time (diff)
downloadinkscape-1771f75acfa7be7dc3a79f7bd23403738f572d49.tar.gz
inkscape-1771f75acfa7be7dc3a79f7bd23403738f572d49.zip
fix time
(bzr r2049)
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index 00c603ab5..bd221fe1f 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -8208,7 +8208,7 @@ timeDiffString(struct timeval &x, struct timeval &y)
int minutes = seconds/60;
seconds += minutes*60;
char buf[80];
- snprintf(buf, 79, "%dM:%02d.%03dM", minutes, seconds, millis);
+ snprintf(buf, 79, "%dm %d.%03ds", minutes, seconds, millis);
String ret = buf;
return ret;
@@ -8228,7 +8228,7 @@ bool Make::run(const String &target)
if (!run())
return false;
gettimeofday(&timeEnd, NULL);
- String timeStr = timeDiffString(timeStart, timeEnd);
+ String timeStr = timeDiffString(timeEnd, timeStart);
status("####################################################");
status("# BuildTool Completed : %s", timeStr.c_str());
status("####################################################");