summaryrefslogtreecommitdiff
path: root/src/gui/palette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 22:00:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 22:26:06 +0300
commitef9e8793c77683b46a99daf6a57ca05facc44752 (patch)
treef152deaa1614295a3a318efada58b0b81723abaa /src/gui/palette.cpp
parent55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (diff)
downloadmanaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.gz
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.bz2
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.xz
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.zip
Fix code style.
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r--src/gui/palette.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index 0e3f9560c..cedfb0f86 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -132,7 +132,7 @@ void Palette::advanceGradient()
else if (grad == GradientType::SPECTRUM)
{
if (colIndex % 2)
- { // falling curve
+ { // falling curve
if (delay)
{
colVal = CAST_S32(255.0 *
@@ -145,7 +145,7 @@ void Palette::advanceGradient()
}
}
else
- { // ascending curve
+ { // ascending curve
if (delay)
{
colVal = CAST_S32(255.0 * (cos(M_PI *