diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 09:14:36 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 09:14:36 +0000 |
commit | 6a5cc0bd25bd468c79e453fa49f353edd824141a (patch) | |
tree | 8b406e8390550ff8b87eae3214309867574657f0 /apps/recorder/bmp.c | |
parent | 7afe2e86931313653d4dedb6d5167c79c2822aba (diff) | |
download | rockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.tar.gz rockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.zip |
Customizable icons for all bitmap targets. (FS#7013)
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index b33c0a329d..352b2f47b1 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -215,13 +215,6 @@ int read_bmp_file(char* filename, | |||
215 | } | 215 | } |
216 | 216 | ||
217 | height = readlong(&bmph.height); | 217 | height = readlong(&bmph.height); |
218 | if (height > LCD_HEIGHT) { | ||
219 | DEBUGF("read_bmp_file: Bitmap too high (%d pixels, max is %d)\n", | ||
220 | height, LCD_HEIGHT); | ||
221 | close(fd); | ||
222 | return -5; | ||
223 | } | ||
224 | |||
225 | depth = readshort(&bmph.bit_count); | 218 | depth = readshort(&bmph.bit_count); |
226 | padded_width = ((width * depth + 31) >> 3) & ~3; /* 4-byte boundary aligned */ | 219 | padded_width = ((width * depth + 31) >> 3) & ~3; /* 4-byte boundary aligned */ |
227 | 220 | ||