Fix display of >=60 minute songs
This commit is contained in:
parent
1e39ae52c5
commit
93e76a2221
2
nncmpp.c
2
nncmpp.c
|
@ -752,7 +752,7 @@ static void
|
||||||
app_write_time (struct row_buffer *buf, int seconds, chtype attrs)
|
app_write_time (struct row_buffer *buf, int seconds, chtype attrs)
|
||||||
{
|
{
|
||||||
int minutes = seconds / 60; seconds %= 60;
|
int minutes = seconds / 60; seconds %= 60;
|
||||||
int hours = minutes / 60; hours %= 60;
|
int hours = minutes / 60; minutes %= 60;
|
||||||
|
|
||||||
struct str s;
|
struct str s;
|
||||||
str_init (&s);
|
str_init (&s);
|
||||||
|
|
Loading…
Reference in New Issue