summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-11-21 10:07:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-21 11:54:05 +0100
commit2d439a4738d43091afea878aef71464dbcb6a6e3 (patch)
tree9c3672e8f80b1a7535ab3a36df1fce50041b9975 /lib
parentd179981b2ddace3dfbf79f828c592a970cd2f009 (diff)
downloadbarebox-2d439a4738d43091afea878aef71464dbcb6a6e3.tar.gz
barebox-2d439a4738d43091afea878aef71464dbcb6a6e3.tar.xz
bmp: specify we need to keep the data read from the file
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/gui/bmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c
index d5761215d..fce0e69b7 100644
--- a/lib/gui/bmp.c
+++ b/lib/gui/bmp.c
@@ -125,6 +125,7 @@ static struct image_renderer bmp = {
.open = bmp_open,
.close = bmp_close,
.renderer = bmp_renderer,
+ .keep_file_data = 1,
};
static int bmp_init(void)