remove warning

This commit is contained in:
Joachim Schoeberl 2012-02-12 02:33:19 +00:00
parent 6770f8f1aa
commit db216f1836

View File

@ -478,8 +478,9 @@ int Exists(int p1, int p2, const Array<twoint>& line)
int i;
for (i = 1; i <= line.Size(); i++)
{
if (line.Get(i).i1 == p1 && line.Get(i).i2 == p2 ||
line.Get(i).i1 == p2 && line.Get(i).i2 == p1) {return 1;}
if ( (line.Get(i).i1 == p1 && line.Get(i).i2 == p2) ||
(line.Get(i).i1 == p2 && line.Get(i).i2 == p1) )
{return 1;}
}
return 0;
}