From 202d3fca10d9a5c1af69080f8141dd19da489294 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 24 Jun 2023 20:34:22 -0700 Subject: copypaste --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.1