summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 77bc7bb16..f521fde8c 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -348,7 +348,7 @@ void Viewport::_drawDebugPath(Graphics *const graphics)
}
void Viewport::_drawPath(Graphics *const graphics, const Path &path,
- const gcn::Color color) const
+ const gcn::Color &color) const
{
graphics->setColor(color);