summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c
index eb2c898..a01a6eb 100644
--- a/apps/plugins/clock.c
+++ b/apps/plugins/clock.c
@@ -2315,7 +2315,7 @@ void draw_extras(int year, int day, int month, int hour, int minute, int second)
struct tm* current_time = rb->get_time();
- int fill = (LCDWIDTH/60) * second;
+ int fill = LCDWIDTH * second/60;
char moday[8];
char dateyr[6];