diff --git a/src/map/IMG/rastertile.cpp b/src/map/IMG/rastertile.cpp index 00f5882d..527cbfe2 100644 --- a/src/map/IMG/rastertile.cpp +++ b/src/map/IMG/rastertile.cpp @@ -208,7 +208,7 @@ void RasterTile::drawLines(QPainter *painter, if (!style.img().isNull()) { if (poly.flags & MapData::Poly::Invert) - BitmapLine::drawr(painter, poly.points, style.img()); + BitmapLine::drawR(painter, poly.points, style.img()); else BitmapLine::draw(painter, poly.points, style.img()); } else if (style.foreground() != Qt::NoPen) { diff --git a/src/map/bitmapline.cpp b/src/map/bitmapline.cpp index 4afb8360..118364db 100644 --- a/src/map/bitmapline.cpp +++ b/src/map/bitmapline.cpp @@ -53,7 +53,7 @@ void BitmapLine::draw(QPainter *painter, const QPolygonF &line, } } -void BitmapLine::drawr(QPainter *painter, const QPolygonF &line, +void BitmapLine::drawR(QPainter *painter, const QPolygonF &line, const QImage &img) { int offset = 0; diff --git a/src/map/bitmapline.h b/src/map/bitmapline.h index 4e95df64..520117a2 100644 --- a/src/map/bitmapline.h +++ b/src/map/bitmapline.h @@ -11,7 +11,7 @@ class QPainterPath; namespace BitmapLine { void draw(QPainter *painter, const QPolygonF &line, const QImage &img); - void drawr(QPainter *painter, const QPolygonF &line, const QImage &img); + void drawR(QPainter *painter, const QPolygonF &line, const QImage &img); void draw(QPainter *painter, const QVector &lines, const QImage &img); void draw(QPainter *painter, const QPainterPath &line, const QImage &img);