summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c2
1 files changed, 1 insertions, 1 deletions
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);