Skip to content

Commit

Permalink
Fixed indent/spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinux committed Jun 23, 2015
1 parent 37cd9e7 commit 028c083
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/raster/qgssinglebandpseudocolorrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ QgsSingleBandPseudoColorRenderer::~QgsSingleBandPseudoColorRenderer()

void QgsSingleBandPseudoColorRenderer::setBand(int bandNo)
{
if ( bandNo>mInput->bandCount() || bandNo<=0 )
{
return;
}
mBand = bandNo;
if ( bandNo > mInput->bandCount() || bandNo <= 0 )
{
return;
}
mBand = bandNo;
}

QgsRasterInterface * QgsSingleBandPseudoColorRenderer::clone() const
Expand Down

0 comments on commit 028c083

Please sign in to comment.