Mercurial > hg > dmlib
comparison tools/lib64gfx.c @ 1235:5b8245e5f785
Remove trailing whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Mar 2015 13:40:47 +0200 |
parents | 848a88ce7a57 |
children | 4b025a96ad46 |
comparison
equal
deleted
inserted
replaced
1234:beae399c6473 | 1235:5b8245e5f785 |
---|---|
1213 | 1213 |
1214 if (*fmt == NULL) | 1214 if (*fmt == NULL) |
1215 return DMERR_INVALID_DATA; | 1215 return DMERR_INVALID_DATA; |
1216 | 1216 |
1217 // Allocate memory | 1217 // Allocate memory |
1218 if ((*img = dmC64ImageAlloc((*fmt)->width, (*fmt)->height, | 1218 if ((*img = dmC64ImageAlloc((*fmt)->width, (*fmt)->height, |
1219 (*fmt)->ch_width, (*fmt)->ch_height)) == NULL) | 1219 (*fmt)->ch_width, (*fmt)->ch_height)) == NULL) |
1220 return DMERR_MALLOC; | 1220 return DMERR_MALLOC; |
1221 | 1221 |
1222 // Decode the bitmap to memory layout | 1222 // Decode the bitmap to memory layout |
1223 if ((*fmt)->decode != NULL) | 1223 if ((*fmt)->decode != NULL) |