summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:03:45 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-20 20:03:45 +0100
commit01b32ebab05428d3cd57ca72d2db1f0c431e007f (patch)
treebf429f236909d96d0ad23b028e7697ef54e9e072
parent3734f5d3c741e877c49ff1c99ce67cb4a764023b (diff)
Move reference ambersand.
-rw-r--r--plugingui/painter.cc2
-rw-r--r--plugingui/painter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/painter.cc b/plugingui/painter.cc
index 38f960d..a1c3f93 100644
--- a/plugingui/painter.cc
+++ b/plugingui/painter.cc
@@ -183,7 +183,7 @@ void Painter::clear()
}
}
-void Painter::drawText(int x0, int y0, const Font &font,
+void Painter::drawText(int x0, int y0, const Font& font,
const std::string& text, bool nocolour)
{
PixelBufferAlpha* textbuf = font.render(text);
diff --git a/plugingui/painter.h b/plugingui/painter.h
index 009ebde..78f1560 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -46,7 +46,7 @@ public:
void setColour(const Colour& colour);
void drawLine(int x1, int y1, int x2, int y2);
- void drawText(int x, int y, const Font &font, const std::string& text,
+ void drawText(int x, int y, const Font& font, const std::string& text,
bool nocolour = false);
void drawRectangle(int x1, int y1, int x2, int y2);
void drawFilledRectangle(int x1, int y1, int x2, int y2);