Fix a warning

Fix the indentation to fix a warning:
```
/cgal/Polyhedron/demo/Polyhedron/texture.cpp:1071:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   for(j=0;j<height;j++)
   ^~~
/cgal/Polyhedron/demo/Polyhedron/texture.cpp:1080:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
     for(j=0;j<height;j++)
     ^~~
```
This commit is contained in:
Laurent Rineau 2016-10-11 11:15:27 +02:00
parent 257171d76b
commit a1cb728da8
1 changed files with 11 additions and 11 deletions

View File

@ -1076,17 +1076,17 @@ void Texture::GenerateLines(unsigned int width,
m_pData[m_WidthByte32*j + i*3+2] = bb;
}
// horizontal zebra
for(j=0;j<height;j++)
{
if((j/size)%2 == 0)
for(i=0;i<width;i++)
{
m_pData[m_WidthByte32*j + i*3] = r;
m_pData[m_WidthByte32*j + i*3+1] = g;
m_pData[m_WidthByte32*j + i*3+2] = b;
}
}
// horizontal zebra
for(j=0;j<height;j++)
{
if((j/size)%2 == 0)
for(i=0;i<width;i++)
{
m_pData[m_WidthByte32*j + i*3] = r;
m_pData[m_WidthByte32*j + i*3+1] = g;
m_pData[m_WidthByte32*j + i*3+2] = b;
}
}
}