diff options
-rw-r--r-- | nGenEx/FormatUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/FormatUtil.cpp b/nGenEx/FormatUtil.cpp index a2ad6f7..3e9fc55 100644 --- a/nGenEx/FormatUtil.cpp +++ b/nGenEx/FormatUtil.cpp @@ -64,7 +64,7 @@ void FormatTime(char* txt, double time) int h = (t / HOUR);
int m = ((t - h*HOUR) / MINUTE);
- int s = ((t - h*HOUR - m*MINUTE));
+ int s = (t - h*HOUR - m*MINUTE);
if (h > 0)
sprintf(txt, "%02d:%02d:%02d", h,m,s);
@@ -85,7 +85,7 @@ void FormatTimeOfDay(char* txt, double time) int h = (t / HOUR);
int m = ((t - h*HOUR) / MINUTE);
- int s = ((t - h*HOUR - m*MINUTE));
+ int s = (t - h*HOUR - m*MINUTE);
sprintf(txt, "%02d:%02d:%02d", h,m,s);
}
|