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 d83ecf4..cc883fe 100644
--- a/apps/plugins/disktidy.c
+++ b/apps/plugins/disktidy.c
@@ -160,15 +160,12 @@ bool tidy_remove_item(char *item, int attr)
void tidy_lcd_status(const char *name, int *removed)
{
- char text[24]; /* "Cleaned up nnnnn items" */
-
/* display status text */
rb->lcd_clear_display();
rb->lcd_puts(0, 0, "Working ...");
rb->lcd_puts(0, 1, name);
- rb->snprintf(text, 24, "Cleaned up %d items", *removed);
#ifdef HAVE_LCD_BITMAP
- rb->lcd_puts(0, 2, text);
+ rb->lcd_putsf(0, 2, "Cleaned up %d items", *removed);
#endif
rb->lcd_update();
}