summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f23bce9)
raw | patch | inline | side by side (parent: f23bce9)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 2 Dec 2006 14:00:35 +0000 (14:00 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 2 Dec 2006 14:00:35 +0000 (14:00 +0000) |
buildtool.cpp | patch | blob | history |
diff --git a/buildtool.cpp b/buildtool.cpp
index af1b033e7c73ad224da3d0dfd8863e2e71c34cce..e61caf9c7fc78d660546d44a22683405a896c933 100644 (file)
--- a/buildtool.cpp
+++ b/buildtool.cpp
int millis = (int)((microsX - microsY)/1000);
int minutes = seconds/60;
- seconds += minutes*60;
+ seconds -= minutes*60;
char buf[80];
snprintf(buf, 79, "%dm %d.%03ds", minutes, seconds, millis);
String ret = buf;