Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Nov 24, 2024
1 parent 7d2bbfe commit 8a38082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/mapsforge/rastertile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ void RasterTile::processLabels(const QList<MapData::Point> &points,
for (int j = 0; j < labels.size(); j++) {
const Style::TextRender *ri = labels.at(j);
if (ri->rule().match(point.center(), point.tags)) {
const QByteArray *lbl;
if ((lbl = label(ri->key(), point.tags))) {
const QByteArray *lbl = label(ri->key(), point.tags);
if (lbl) {
if (!si) {
ti = ri;
ll.append(lbl);
Expand Down

0 comments on commit 8a38082

Please sign in to comment.