summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/bmp.c')
-rw-r--r--apps/plugins/lib/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/bmp.c b/apps/plugins/lib/bmp.c
index 20adc6de86..c46093a8d9 100644
--- a/apps/plugins/lib/bmp.c
+++ b/apps/plugins/lib/bmp.c
@@ -30,7 +30,7 @@
30/** 30/**
31 * Save to 24 bit bitmap. 31 * Save to 24 bit bitmap.
32 */ 32 */
33int save_bmp_file( char* filename, struct bitmap *bm, struct plugin_api* rb ) 33int save_bmp_file( char* filename, struct bitmap *bm, const struct plugin_api* rb )
34{ 34{
35 /* I'm not really sure about this one :) */ 35 /* I'm not really sure about this one :) */
36 int line_width = bm->width*3+((bm->width*3)%4?4-((bm->width*3)%4):0); 36 int line_width = bm->width*3+((bm->width*3)%4?4-((bm->width*3)%4):0);