Skip to content

Commit

Permalink
fix comparison
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9204 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 28, 2008
1 parent 7016f60 commit 1f437f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3725,7 +3725,7 @@ bool QgsRasterLayer::readColorTable( int theBandNumber, QList<QgsColorRampShader
myColorRampItem.color = QColor::fromRgb(myColorEntry->c1, myColorEntry->c1, myColorEntry->c1, myColorEntry->c4);
theList->append(myColorRampItem);
}
else if(myColorInterpretation = GCI_PaletteIndex)
else if(myColorInterpretation == GCI_PaletteIndex)
{
QgsColorRampShader::ColorRampItem myColorRampItem;
myColorRampItem.label = "";
Expand Down

0 comments on commit 1f437f7

Please sign in to comment.