Skip to content

Commit 46bad08

Browse files
author
jef
committed
fix comparison
git-svn-id: http://svn.osgeo.org/qgis/trunk@9204 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6d595a2 commit 46bad08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/raster/qgsrasterlayer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3725,7 +3725,7 @@ bool QgsRasterLayer::readColorTable( int theBandNumber, QList<QgsColorRampShader
37253725
myColorRampItem.color = QColor::fromRgb(myColorEntry->c1, myColorEntry->c1, myColorEntry->c1, myColorEntry->c4);
37263726
theList->append(myColorRampItem);
37273727
}
3728-
else if(myColorInterpretation = GCI_PaletteIndex)
3728+
else if(myColorInterpretation == GCI_PaletteIndex)
37293729
{
37303730
QgsColorRampShader::ColorRampItem myColorRampItem;
37313731
myColorRampItem.label = "";

0 commit comments

Comments
 (0)