summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-14 20:30:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-14 20:51:13 +0300
commitb70d1b6d97dcfd78030fb457889e37cb45f6097d (patch)
tree9f86d6389397887003b920f2335d387398bdcfd6 /src/gui/userpalette.cpp
parent84499779fcf0c8b5392a88f1c9311775e692ebef (diff)
downloadmv-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.gz
mv-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.bz2
mv-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.xz
mv-b70d1b6d97dcfd78030fb457889e37cb45f6097d.zip
Fix code style.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 69c2b7093..cb4aa3587 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -298,7 +298,7 @@ void UserPalette::addColor(const unsigned type, const unsigned rgb,
rgbValue = atox(rgbString);
else
rgbValue = atoi(rgbString.c_str());
- gcn::Color trueCol = rgbValue;
+ const gcn::Color &trueCol = rgbValue;
grad = static_cast<GradientType>(config.getValue(configName + "Gradient",
static_cast<int>(grad)));
delay = config.getValueInt(configName + "Delay", delay);