1
0
Fork 0
forked from len0rd/rockbox

FS#10535: bmp viewer plugin.

* changed bmp.c so that it loads bitmap larger than LCD correctly.
* removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-02-18 15:10:31 +00:00
parent 2a4bbde44e
commit c4eea8f11f
11 changed files with 396 additions and 11 deletions

View file

@ -136,7 +136,7 @@ int load_image(char *filename, struct image_info *info,
fd = rb->open(filename, O_RDONLY);
if (fd < 0)
{
rb->splashf(HZ, "err opening %s:%d", filename, fd);
rb->splashf(HZ, "err opening %s: %d", filename, fd);
return PLUGIN_ERROR;
}
filesize = rb->filesize(fd);