diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2008-06-18 15:58:44 -0700 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2008-06-18 15:58:44 -0700 |
commit | 6b71109ebaf8d9b5734e14303a53782f70d955e8 (patch) | |
tree | 704cbf0648039c31c9810f3dcb4b2f025acc6af9 | |
parent | a9b03212984cb3821b16a6bd3e5d8686933ebd0e (diff) | |
download | mirror-meh-6b71109ebaf8d9b5734e14303a53782f70d955e8.tar.gz mirror-meh-6b71109ebaf8d9b5734e14303a53782f70d955e8.tar.bz2 mirror-meh-6b71109ebaf8d9b5734e14303a53782f70d955e8.zip |
last minute mistake
-rw-r--r-- | src/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ struct image *bmp_open(FILE *f){ } if(b->bpp >= 16){ - b->rowwidth = b->img.width * b->bpp; + b->rowwidth = b->img.width * b->bpp / 8; }else{ int i; b->colours = malloc(b->ncolors * sizeof(struct rgb_t)); |