From: ishmal Date: Tue, 28 Nov 2006 21:48:42 +0000 (+0000) Subject: fix time X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e9d79b6e01418f61502f8548f65205df9c2eb196;p=inkscape.git fix time --- 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("####################################################");