From 61e14d4bb25268593019e6df3eb02264b4ac8e0e Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 31 Oct 2020 23:28:02 +0100 Subject: Spacing around operators --- UptimeMeter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'UptimeMeter.c') diff --git a/UptimeMeter.c b/UptimeMeter.c index 89e34175..79070286 100644 --- a/UptimeMeter.c +++ b/UptimeMeter.c @@ -24,9 +24,9 @@ static void UptimeMeter_updateValues(Meter* this, char* buffer, int len) { return; } int seconds = totalseconds % 60; - int minutes = (totalseconds/60) % 60; - int hours = (totalseconds/3600) % 24; - int days = (totalseconds/86400); + int minutes = (totalseconds / 60) % 60; + int hours = (totalseconds / 3600) % 24; + int days = (totalseconds / 86400); this->values[0] = days; if (days > this->total) { this->total = days; -- cgit v1.2.3