From e37756ee2798950117059539295ddf925830d7c2 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 25 Sep 2007 12:28:53 +0000 Subject: [PATCH] Tidying. git-svn-id: http://svn.voria.com/code@752 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/color.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/src/synfig/color.h b/synfig-core/trunk/src/synfig/color.h index 35e2857..ad6a81c 100644 --- a/synfig-core/trunk/src/synfig/color.h +++ b/synfig-core/trunk/src/synfig/color.h @@ -45,9 +45,9 @@ /* === M A C R O S ========================================================= */ #define use_colorspace_gamma() App::use_colorspace_gamma -#define colorspace_gamma() (2.2f) -#define gamma_in(x) ((x>=0)?pow((float)x,1.0f/colorspace_gamma()):-pow((float)-x,1.0f/colorspace_gamma())) -#define gamma_out(x) ((x>=0)?pow((float)x,colorspace_gamma()):-pow((float)-x,colorspace_gamma())) +#define colorspace_gamma() (2.2f) +#define gamma_in(x) ((x>=0) ? pow((float)x,1.0f/colorspace_gamma()) : -pow((float)-x,1.0f/colorspace_gamma())) +#define gamma_out(x) ((x>=0) ? pow((float)x, colorspace_gamma()) : -pow((float)-x, colorspace_gamma())) #ifdef WIN32 #include -- 2.7.4