summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-06 00:04:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-06 00:04:33 +0300
commit7b155f111daf5d7ae477b16d0f0789b1113bea74 (patch)
tree2d2711ab1f9daed793171383af1a7e1fa6ff737c /src/gui/palette.h
parentc3afff20d4989ab2835545715bbe67e5b5d9b353 (diff)
downloadmanaplus-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.gz
manaplus-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.bz2
manaplus-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.xz
manaplus-7b155f111daf5d7ae477b16d0f0789b1113bea74.zip
Fix some issues after auto checking.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index 7d5d93830..235070990 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -152,19 +152,19 @@ class Palette
struct ColorElem
{
- ColorElem()
+ ColorElem() :
+ type(0),
+ color(0),
+ testColor(0),
+ committedColor(0),
+ text(),
+ ch(0),
+ grad(STATIC),
+ committedGrad(STATIC),
+ gradientIndex(0),
+ delay(0),
+ committedDelay(0)
{
- type = 0;
- color = 0;
- testColor = 0;
- committedColor = 0;
- text = "";
- ch = 0;
- grad = STATIC;
- committedGrad = STATIC;
- gradientIndex = 0;
- delay = 0;
- committedDelay = 0;
}
int type;