From 93e76a2221e452eb2c283eb1cf7000a9cfab1029 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 4 Oct 2016 06:17:27 +0200
Subject: Fix display of >=60 minute songs
---
nncmpp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nncmpp.c b/nncmpp.c
index 8a277d9..30e9015 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -752,7 +752,7 @@ static void
app_write_time (struct row_buffer *buf, int seconds, chtype attrs)
{
int minutes = seconds / 60; seconds %= 60;
- int hours = minutes / 60; hours %= 60;
+ int hours = minutes / 60; minutes %= 60;
struct str s;
str_init (&s);
--
cgit v1.2.3-70-g09d2