diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_bmp.c')
-rw-r--r-- | apps/plugins/lib/pluginlib_bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/pluginlib_bmp.c b/apps/plugins/lib/pluginlib_bmp.c index 8520a8b17f..148aa8e1de 100644 --- a/apps/plugins/lib/pluginlib_bmp.c +++ b/apps/plugins/lib/pluginlib_bmp.c | |||
@@ -60,7 +60,7 @@ int save_bmp_file( char* filename, struct bitmap *bm ) | |||
60 | int fh; | 60 | int fh; |
61 | int x,y; | 61 | int x,y; |
62 | if( bm->format != FORMAT_NATIVE ) return -1; | 62 | if( bm->format != FORMAT_NATIVE ) return -1; |
63 | fh = rb->creat( filename ); | 63 | fh = rb->creat( filename , 0666); |
64 | if( fh < 0 ) return -1; | 64 | if( fh < 0 ) return -1; |
65 | 65 | ||
66 | rb->write( fh, header, sizeof( header ) ); | 66 | rb->write( fh, header, sizeof( header ) ); |