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

@ -191,32 +191,32 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
pointers = (char **)(buf + buf_size - sizeof(int));
rb->lcd_clear_display();
rb->splash(0, true, "Loading...");
rb->splash(0, "Loading...");
rc = read_buffer(0);
if(rc == 0) {
rb->lcd_clear_display();
rb->splash(0, true, "Sorting...");
rb->splash(0, "Sorting...");
sort_buffer();
rb->lcd_clear_display();
rb->splash(0, true, "Writing...");
rb->splash(0, "Writing...");
rc = write_file();
if(rc < 0) {
rb->lcd_clear_display();
rb->splash(HZ, true, "Can't write file: %d", rc);
rb->splash(HZ, "Can't write file: %d", rc);
} else {
rb->lcd_clear_display();
rb->splash(HZ, true, "Done");
rb->splash(HZ, "Done");
}
} else {
if(rc < 0) {
rb->lcd_clear_display();
rb->splash(HZ, true, "Can't read file: %d", rc);
rb->splash(HZ, "Can't read file: %d", rc);
} else {
rb->lcd_clear_display();
rb->splash(HZ, true, "The file is too big");
rb->splash(HZ, "The file is too big");
}
}