1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2007-03-16 21:56:08 +00:00
parent 2c643b9f3e
commit 4d6374c923
107 changed files with 529 additions and 553 deletions

View file

@ -1043,12 +1043,12 @@ static void viewer_load_settings(void) /* same name as global, but not the same
settings_fd=rb->open(SETTINGS_FILE, O_RDONLY);
if (settings_fd < 0)
{
rb->splash(HZ*2, true, "No Settings File");
rb->splash(HZ*2, "No Settings File");
return;
}
if (rb->filesize(settings_fd) != sizeof(struct preferences))
{
rb->splash(HZ*2, true, "Settings File Invalid");
rb->splash(HZ*2, "Settings File Invalid");
return;
}
@ -1313,7 +1313,7 @@ static void viewer_menu(void)
switch (result)
{
case 0: /* quit */
rb->splash(1, true, "Saving Settings");
rb->splash(1, "Saving Settings");
rb->menu_exit(m);
viewer_exit(NULL);
done = true;
@ -1350,7 +1350,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
file_name = file;
ok = viewer_init();
if (!ok) {
rb->splash(HZ, false, "Error");
rb->splash(HZ, "Error");
viewer_exit(NULL);
return PLUGIN_OK;
}