diff options
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r-- | apps/plugins/bounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index 8ac4202ab1..c3bea8e14f 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c | |||
@@ -284,7 +284,7 @@ static void addclock(void) | |||
284 | #if LCD_DEPTH > 1 | 284 | #if LCD_DEPTH > 1 |
285 | static const int face_colors[] = | 285 | static const int face_colors[] = |
286 | { | 286 | { |
287 | 0, 2*MAX_LEVEL/3, MAX_LEVEL/3 | 287 | 0, 2*LCD_MAX_LEVEL/3, LCD_MAX_LEVEL/3 |
288 | }; | 288 | }; |
289 | #endif | 289 | #endif |
290 | 290 | ||
@@ -451,7 +451,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
451 | 451 | ||
452 | len = 1; | 452 | len = 1; |
453 | rb->lcd_getstringsize(off, &w, &h); | 453 | rb->lcd_getstringsize(off, &w, &h); |
454 | 454 | ||
455 | /* Get horizontel centering for text */ | 455 | /* Get horizontel centering for text */ |
456 | len *= w; | 456 | len *= w; |
457 | if (len%2 != 0) | 457 | if (len%2 != 0) |