summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index a17c6d7729..ffc9d49a98 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -3026,7 +3026,7 @@ struct t_disp* get_image(struct jpeg* p_jpg, int ds)
3026#endif 3026#endif
3027 if (status) 3027 if (status)
3028 { 3028 {
3029 rb->splash(HZ, "decode error %d", status); 3029 rb->splashf(HZ, "decode error %d", status);
3030 file_pt[curfile] = '\0'; 3030 file_pt[curfile] = '\0';
3031 return NULL; 3031 return NULL;
3032 } 3032 }
@@ -3212,7 +3212,7 @@ int load_and_show(char* filename)
3212 3212
3213 if (status < 0 || (status & (DQT | SOF0)) != (DQT | SOF0)) 3213 if (status < 0 || (status & (DQT | SOF0)) != (DQT | SOF0))
3214 { /* bad format or minimum components not contained */ 3214 { /* bad format or minimum components not contained */
3215 rb->splash(HZ, "unsupported %d", status); 3215 rb->splashf(HZ, "unsupported %d", status);
3216 file_pt[curfile] = '\0'; 3216 file_pt[curfile] = '\0';
3217 return change_filename(direction); 3217 return change_filename(direction);
3218 } 3218 }