diff options
Diffstat (limited to 'libdimension/reflection.c')
-rw-r--r-- | libdimension/reflection.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libdimension/reflection.c b/libdimension/reflection.c index 7c82112..934fcf6 100644 --- a/libdimension/reflection.c +++ b/libdimension/reflection.c @@ -1,5 +1,5 @@ /************************************************************************* - * Copyright (C) 2010-2011 Tavian Barnes <tavianator@tavianator.com> * + * Copyright (C) 2010-2014 Tavian Barnes <tavianator@tavianator.com> * * * * This file is part of The Dimension Library. * * * @@ -53,8 +53,7 @@ dmnsn_new_basic_reflection(dmnsn_color min, dmnsn_color max, double falloff) { dmnsn_reflection *reflection = dmnsn_new_reflection(); - dmnsn_reflection_params *params - = dmnsn_malloc(sizeof(dmnsn_reflection_params)); + dmnsn_reflection_params *params = DMNSN_MALLOC(dmnsn_reflection_params); params->min = min; params->max = max; params->falloff = falloff; |