summaryrefslogtreecommitdiff
path: root/apps/plugins/disktidy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/disktidy.c')
-rw-r--r--apps/plugins/disktidy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c
index d83ecf4312..cc883fea9c 100644
--- a/apps/plugins/disktidy.c
+++ b/apps/plugins/disktidy.c
@@ -160,15 +160,12 @@ bool tidy_remove_item(char *item, int attr)
160 160
161void tidy_lcd_status(const char *name, int *removed) 161void tidy_lcd_status(const char *name, int *removed)
162{ 162{
163 char text[24]; /* "Cleaned up nnnnn items" */
164
165 /* display status text */ 163 /* display status text */
166 rb->lcd_clear_display(); 164 rb->lcd_clear_display();
167 rb->lcd_puts(0, 0, "Working ..."); 165 rb->lcd_puts(0, 0, "Working ...");
168 rb->lcd_puts(0, 1, name); 166 rb->lcd_puts(0, 1, name);
169 rb->snprintf(text, 24, "Cleaned up %d items", *removed);
170#ifdef HAVE_LCD_BITMAP 167#ifdef HAVE_LCD_BITMAP
171 rb->lcd_puts(0, 2, text); 168 rb->lcd_putsf(0, 2, "Cleaned up %d items", *removed);
172#endif 169#endif
173 rb->lcd_update(); 170 rb->lcd_update();
174} 171}