Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix comparison
git-svn-id: http://svn.osgeo.org/qgis/trunk@9204 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 28, 2008
1 parent 6d595a2 commit 46bad08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
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 46bad08

Please sign in to comment.