Skip to content
Permalink
Browse files

Fix multiple overlaps of curved labels (fix #12792)

  • Loading branch information
nyalldawson committed May 21, 2015
1 parent 00a0399 commit 1f14ce704ee3a8308b0572e986ffa612b4414f9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -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;

0 comments on commit 1f14ce7

Please sign in to comment.
You can’t perform that action at this time.