Skip to content

Commit 1f14ce7

Browse files
committed
Fix multiple overlaps of curved labels (fix #12792)
1 parent 00a0399 commit 1f14ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgspallabeling.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4377,7 +4377,7 @@ void QgsPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext& con
43774377
}
43784378

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

43834383
double labelWidest = 0.0;

0 commit comments

Comments
 (0)