Skip to content

Commit

Permalink
Fix typo causing undefined behavior warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 26, 2017
1 parent ce4a251 commit db29686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerlabeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ std::unique_ptr<QgsMarkerSymbolLayer> backgroundToMarkerLayer( const QgsTextBack
{
QgsSimpleMarkerSymbolLayer *marker = new QgsSimpleMarkerSymbolLayer();
// default value
QgsSimpleMarkerSymbolLayerBase::Shape shape = shape = QgsSimpleMarkerSymbolLayerBase::Diamond;
QgsSimpleMarkerSymbolLayerBase::Shape shape = QgsSimpleMarkerSymbolLayerBase::Diamond;
switch ( settings.type() )
{
case QgsTextBackgroundSettings::ShapeCircle:
Expand Down

0 comments on commit db29686

Please sign in to comment.