summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/imageviewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.c')
-rw-r--r--apps/plugins/imageviewer/imageviewer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c
index e581407290..eb1ce498a1 100644
--- a/apps/plugins/imageviewer/imageviewer.c
+++ b/apps/plugins/imageviewer/imageviewer.c
@@ -97,7 +97,6 @@ static fb_data rgb_linebuf[LCD_WIDTH]; /* Line buffer for scrolling when
97#endif 97#endif
98 98
99/* my memory pool (from the mp3 buffer) */ 99/* my memory pool (from the mp3 buffer) */
100static char print[32]; /* use a common snprintf() buffer */
101/* the remaining free part of the buffer for loaded+resized images */ 100/* the remaining free part of the buffer for loaded+resized images */
102static unsigned char* buf; 101static unsigned char* buf;
103static size_t buf_size; 102static size_t buf_size;
@@ -777,9 +776,7 @@ static int load_and_show(char* filename, struct image_info *info)
777 776
778 if(!running_slideshow) 777 if(!running_slideshow)
779 { 778 {
780 rb->snprintf(print, sizeof(print), "showing %dx%d", 779 rb->lcd_putsf(0, 3, "showing %dx%d", info->width, info->height);
781 info->width, info->height);
782 rb->lcd_puts(0, 3, print);
783 rb->lcd_update(); 780 rb->lcd_update();
784 } 781 }
785 782