summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-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);