summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
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;