aboutsummaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-04-28 11:00:27 +0200
committerGravatar jonas <himself@jonasgunz.de> 2019-04-28 11:00:27 +0200
commit15dc2c219595a92ca121578b13047e23156ea3fa (patch)
tree7523a22aa094aaf79a72100c8f8a0d4a04f0bfe3 /bitmap.c
parentdd029dad99fd17770980ff87b909733e7594b829 (diff)
downloadAsciiMap-15dc2c219595a92ca121578b13047e23156ea3fa.tar.gz
Added DEBUG messages and debug make target
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmap.c b/bitmap.c
index a99e335..bb88b46 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -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;