summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
commit4d6374c9236b93e0bd457f99944164fc493d1120 (patch)
treeff9630fcef66e63c61cc0a74e97f21220e668f75 /apps/plugins/jpeg.c
parent2c643b9f3e22ee07f7949a5471f726758dc40841 (diff)
downloadrockbox-4d6374c9236b93e0bd457f99944164fc493d1120.zip
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.gz
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.bz2
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.xz
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index f96c954..c6cb270 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2083,7 +2083,7 @@ int change_filename(int direct)
if(count == entries && file_pt[curfile] == '\0')
{
- rb->splash(HZ,true,"No supported files");
+ rb->splash(HZ, "No supported files");
return PLUGIN_ERROR;
}
if(rb->strlen(tree->currdir) > 1)
@@ -2557,7 +2557,7 @@ struct t_disp* get_image(struct jpeg* p_jpg, int ds)
#endif
if (status)
{
- rb->splash(HZ, true, "decode error %d", status);
+ rb->splash(HZ, "decode error %d", status);
file_pt[curfile] = '\0';
return NULL;
}
@@ -2619,7 +2619,7 @@ int load_and_show(char* filename)
if (fd < 0)
{
rb->snprintf(print,sizeof(print),"err opening %s:%d",filename,fd);
- rb->splash(HZ, true, print);
+ rb->splash(HZ, print);
return PLUGIN_ERROR;
}
filesize = rb->filesize(fd);
@@ -2696,7 +2696,7 @@ int load_and_show(char* filename)
else
#endif
{
- rb->splash(HZ, true, "Out of Memory");
+ rb->splash(HZ, "Out of Memory");
rb->close(fd);
return PLUGIN_ERROR;
}
@@ -2743,7 +2743,7 @@ int load_and_show(char* filename)
if (status < 0 || (status & (DQT | SOF0)) != (DQT | SOF0))
{ /* bad format or minimum components not contained */
- rb->splash(HZ, true, "unsupported %d", status);
+ rb->splash(HZ, "unsupported %d", status);
file_pt[curfile] = '\0';
return change_filename(direction);
}
@@ -2762,7 +2762,7 @@ int load_and_show(char* filename)
ds_min = min_downscale(&jpg, buf_size); /* check memory constraint */
if (ds_min == 0)
{
- rb->splash(HZ, true, "too large");
+ rb->splash(HZ, "too large");
file_pt[curfile] = '\0';
return change_filename(direction);
}
@@ -2902,7 +2902,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
buf_size -= graysize;
if (grayscales < 33 || buf_size <= 0)
{
- rb->splash(HZ, true, "gray buf error");
+ rb->splash(HZ, "gray buf error");
return PLUGIN_ERROR;
}
#else