summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ec34073..badbc3f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -85,7 +85,7 @@ fn duration_as_human_string(duration_ms: u64) -> String {
let duration_ms = duration_ms % 1000;
let duration_sec = duration_sec % 60;
- let duration_min = duration_hours % 60;
+ let duration_min = duration_min % 60;
// no need to clamp hours, we're gonna just hope that it's a reasonable number of hours
if duration_hours != 0 {