projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20021123-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
image.c
diff --git
a/src/libgame/image.c
b/src/libgame/image.c
index 3e89c8b196340dfd259d5e469cfb33da1d134c1c..8e69de5460a4b518d0c4fb40320abacc0bbd5078 100644
(file)
--- a/
src/libgame/image.c
+++ b/
src/libgame/image.c
@@
-37,8
+37,8
@@
Image *newImage(unsigned int width, unsigned int height, unsigned int depth)
depth = 8;
#endif
depth = 8;
#endif
- image = checked_
m
alloc(sizeof(Image));
- image->data = checked_
m
alloc(width * height * bytes_per_pixel);
+ image = checked_
c
alloc(sizeof(Image));
+ image->data = checked_
c
alloc(width * height * bytes_per_pixel);
image->width = width;
image->height = height;
image->depth = depth;
image->width = width;
image->height = height;
image->depth = depth;