diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-04 06:17:27 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-04 06:17:27 +0200 |
commit | 93e76a2221e452eb2c283eb1cf7000a9cfab1029 (patch) | |
tree | 0520621068a30773c8373b55a2085c187433ae91 /nncmpp.c | |
parent | 1e39ae52c510609fd50adc6ba3d7440b79ac3e33 (diff) | |
download | nncmpp-93e76a2221e452eb2c283eb1cf7000a9cfab1029.tar.gz nncmpp-93e76a2221e452eb2c283eb1cf7000a9cfab1029.tar.xz nncmpp-93e76a2221e452eb2c283eb1cf7000a9cfab1029.zip |
Fix display of >=60 minute songs
Diffstat (limited to 'nncmpp.c')
-rw-r--r-- | nncmpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |