diff options
author | jonas <himself@jonasgunz.de> | 2019-04-28 11:00:27 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-28 11:00:27 +0200 |
commit | 15dc2c219595a92ca121578b13047e23156ea3fa (patch) | |
tree | 7523a22aa094aaf79a72100c8f8a0d4a04f0bfe3 /bitmap.c | |
parent | dd029dad99fd17770980ff87b909733e7594b829 (diff) | |
download | AsciiMap-15dc2c219595a92ca121578b13047e23156ea3fa.tar.gz |
Added DEBUG messages and debug make target
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ struct bitmap_pixel_data bitmap_read(char *_file) ret.R = ret.G = ret.B = NULL; ret.error = 1; - FILE *bitmap = fopen(_file,"r"); + FILE *bitmap = fopen(_file,"rb"); if(!bitmap) return ret; |