Index: base/lut-funcs.c
===================================================================
RCS file: /cvs/gnome/gimp/app/base/lut-funcs.c,v
retrieving revision 1.16
diff -u -p -w -r1.16 lut-funcs.c
--- base/lut-funcs.c	18 Feb 2004 13:43:42 -0000	1.16
+++ base/lut-funcs.c	21 Feb 2006 19:31:41 -0000
@@ -59,7 +59,7 @@ brightness_contrast_lut_func (B_C_struct
   /* apply contrast */
   if (data->contrast < 0.0)
     {
-      if (value > 0.5)
+      if (value < 0.5)
 	nvalue = 1.0 - value;
       else
 	nvalue = value;
@@ -69,7 +69,7 @@ brightness_contrast_lut_func (B_C_struct
 
       nvalue = 0.5 * pow (nvalue * 2.0 , (double) (1.0 + data->contrast));
 
-      if (value > 0.5)
+      if (value < 0.5)
 	value = 1.0 - nvalue;
       else
 	value = nvalue;
