[PATCH 2/2] bmp: specify we need to keep the data read from the file
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Nov 21 04:07:47 EST 2012
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
lib/gui/bmp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c
index d576121..fce0e69 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)
--
1.7.10.4
More information about the barebox
mailing list