summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-03-11 20:25:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-03-11 20:25:16 +0000
commit21229b2f093e27123463403f5bd535fba8b392da (patch)
tree413d249528c33870140b4aaa3b1d341ddecf4be1
parent07476d52de96eb25cceb1a318b100d8c8cb79576 (diff)
downloadrockbox-21229b2f093e27123463403f5bd535fba8b392da.tar.gz
rockbox-21229b2f093e27123463403f5bd535fba8b392da.zip
The image size calculation was wrong on monochrome targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9006 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 28e7281df0..fc06d84a0d 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -119,7 +119,7 @@ int read_bmp_file(char* filename,
unsigned char bmpbuf[LCD_WIDTH*sizeof(struct rgb_quad)]; /* Buffer for one line */
#if LCD_DEPTH == 1
- (void)format;
+ format = FORMAT_MONO;
#else
bool transparent;