diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-14 20:30:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-14 20:51:13 +0300 |
commit | b70d1b6d97dcfd78030fb457889e37cb45f6097d (patch) | |
tree | 9f86d6389397887003b920f2335d387398bdcfd6 /src/gui/userpalette.cpp | |
parent | 84499779fcf0c8b5392a88f1c9311775e692ebef (diff) | |
download | manaverse-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.gz manaverse-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.bz2 manaverse-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.xz manaverse-b70d1b6d97dcfd78030fb457889e37cb45f6097d.zip |
Fix code style.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r-- | src/gui/userpalette.cpp | 2 |
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); |