Fix multiple overlaps of curved labels (fix #12792)

This commit is contained in:
Nyall Dawson 2015-05-21 18:01:11 +10:00
parent 195972acc2
commit 7d97ab50fc

View File

@ -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;