summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h
index a808e865b..0ce3a6b85 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -117,7 +117,7 @@ class UserPalette : public Palette, public gcn::ListModel
* @param type the color type requested
* @param color the color that should be tested
*/
- inline void setTestColor(const int type, const gcn::Color color)
+ inline void setTestColor(const int type, const gcn::Color &color)
{ mColors[type].testColor = color; }
/**