aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Peertube.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Peertube.cpp b/src/plugins/Peertube.cpp
index df715c1..db55584 100644
--- a/src/plugins/Peertube.cpp
+++ b/src/plugins/Peertube.cpp
@@ -50,6 +50,7 @@ namespace QuickMedia {
if(hours >= 1) {
minutes -= (hours * 60);
seconds -= (hours * 60 * 60);
+ seconds -= (minutes * 60);
snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d", hours, minutes, seconds);
} else if(minutes >= 1) {
seconds -= (minutes * 60);