diff options
Diffstat (limited to 'apps/plugins/imageviewer/bmp/bmp.c')
-rw-r--r-- | apps/plugins/imageviewer/bmp/bmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/bmp/bmp.c b/apps/plugins/imageviewer/bmp/bmp.c index b7efbb7e2c..f7e55dbe62 100644 --- a/apps/plugins/imageviewer/bmp/bmp.c +++ b/apps/plugins/imageviewer/bmp/bmp.c | |||
@@ -230,8 +230,9 @@ static int load_image(char *filename, struct image_info *info, | |||
230 | return PLUGIN_OK; | 230 | return PLUGIN_OK; |
231 | } | 231 | } |
232 | 232 | ||
233 | static int get_image(struct image_info *info, int ds) | 233 | static int get_image(struct image_info *info, int frame, int ds) |
234 | { | 234 | { |
235 | (void)frame; | ||
235 | struct t_disp* p_disp = &disp[ds]; /* short cut */ | 236 | struct t_disp* p_disp = &disp[ds]; /* short cut */ |
236 | 237 | ||
237 | info->width = bmp.width/ds; | 238 | info->width = bmp.width/ds; |