Mercurial > dwindows
comparison win/dw.c @ 967:c8490b0d8577
Minor formatting fix.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 03 May 2011 01:58:08 +0000 |
parents | d90222530bb9 |
children | 0345e37d6c86 |
comparison
equal
deleted
inserted
replaced
966:d90222530bb9 | 967:c8490b0d8577 |
---|---|
8827 | 8827 |
8828 /* Read the file header and any following bitmap information... */ | 8828 /* Read the file header and any following bitmap information... */ |
8829 if(fread(&header, sizeof(BITMAPFILEHEADER), 1, fp) < 1) | 8829 if(fread(&header, sizeof(BITMAPFILEHEADER), 1, fp) < 1) |
8830 { | 8830 { |
8831 /* Couldn't read the file header */ | 8831 /* Couldn't read the file header */ |
8832 fclose(fp); | 8832 fclose(fp); |
8833 return 0; | 8833 return 0; |
8834 } | 8834 } |
8835 | 8835 |
8836 if(header.bfType != 'MB') /* Check for BM reversed... */ | 8836 if(header.bfType != 'MB') /* Check for BM reversed... */ |
8837 { | 8837 { |