diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-08 17:12:02 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-08 17:12:02 +0000 |
commit | bff7f2b3b440c30d0d6eb692576af57ef42edd1b (patch) | |
tree | 0ba45051db1ee7b7808339cfb587f8f76d8c7c5c /libdimension/scene.c | |
parent | 14c9cd86e1b7c6ff27c5000d72721c54a718daac (diff) | |
download | dimension-bff7f2b3b440c30d0d6eb692576af57ef42edd1b.tar.xz |
Comments and style adjustments, and a couple fixes.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r-- | libdimension/scene.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c index 9405f03..d167e16 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -26,8 +26,9 @@ dmnsn_scene * dmnsn_new_scene() { dmnsn_scene *scene = malloc(sizeof(dmnsn_scene)); - if (scene) + if (scene) { scene->objects = dmnsn_new_array(sizeof(dmnsn_object*)); + } return scene; } |