Remove .gitignore do nothing is ignored.
[synfig.git] / ETL / trunk / test / surface.cpp
index 7725460..e2dd0e5 100644 (file)
@@ -1,7 +1,7 @@
 /*! ========================================================================
 ** Extended Template and Library Test Suite
 ** Surface Class Test
-** $Id: surface.cpp,v 1.1.1.1 2005/01/04 01:31:48 darco Exp $
+** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 **
@@ -77,7 +77,7 @@ void make_pattern(generic_pen<float> pen, int w, int h)
        {
                for(x=0;x<w;x++,pen.inc_x())
                {
-                       if(x-y<=1 && y-x<=1 || y==h/2 || x==w/2)
+                       if( (x-y<=1 && y-x<=1) || y==h/2 || x==w/2)
                                pen.put_value(2);
                        else
                                pen.put_value(0);