/*! ========================================================================
** 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.
**
{
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);