Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix multiple overlaps of curved labels (fix #12792)
  • Loading branch information
nyalldawson committed May 21, 2015
1 parent 00a0399 commit 1f14ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Expand Up @@ -4377,7 +4377,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 1f14ce7

Please sign in to comment.