summaryrefslogtreecommitdiffstats
path: root/apps/plugins/search.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/search.c
parent2c643b9f3e22ee07f7949a5471f726758dc40841 (diff)
downloadrockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.gz
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.zip
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/search.c')
-rw-r--r--apps/plugins/search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/search.c b/apps/plugins/search.c
index 5a30ce6064..6d4cfd2d78 100644
--- a/apps/plugins/search.c
+++ b/apps/plugins/search.c
@@ -121,7 +121,7 @@ static bool search_init(char* file)
if (!rb->kbd_input(search_string,sizeof search_string))
{
rb->lcd_clear_display();
- rb->splash(0, true, "Searching...");
+ rb->splash(0, "Searching...");
fd = rb->open(file, O_RDONLY);
if (fd==-1)
return false;
@@ -130,9 +130,9 @@ static bool search_init(char* file)
if (fdw < 0) {
#ifdef HAVE_LCD_BITMAP
- rb->splash(HZ, true, "Failed to create result file!");
+ rb->splash(HZ, "Failed to create result file!");
#else
- rb->splash(HZ, true, "File creation failed");
+ rb->splash(HZ, "File creation failed");
#endif
return false;
}
@@ -158,7 +158,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
/* Check the extension. We only allow .m3u files. */
if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") &&
rb->strcasecmp(&filename[rb->strlen(filename)-5], ".m3u8")) {
- rb->splash(HZ, true, "Not a .m3u or .m3u8 file");
+ rb->splash(HZ, "Not a .m3u or .m3u8 file");
return PLUGIN_ERROR;
}
@@ -176,7 +176,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
search_buffer();
rb->lcd_clear_display();
- rb->splash(HZ, true, "Done");
+ rb->splash(HZ, "Done");
rb->close(fdw);
rb->close(fd);