Skip to content

Commit

Permalink
Fix multiple overlaps of curved labels (fix #12792)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 21, 2015
1 parent 195972a commit 7d97ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Expand Up @@ -4504,7 +4504,7 @@ void QgsPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext& con
}

//QgsDebugMsgLevel( "drawLabel " + txt, 4 );
QStringList multiLineList = QgsPalLabeling::splitToLines( text, tmpLyr.wrapChar );
QStringList multiLineList = QgsPalLabeling::splitToLines( txt, tmpLyr.wrapChar );
int lines = multiLineList.size();

double labelWidest = 0.0;
Expand Down

0 comments on commit 7d97ab5

Please sign in to comment.