From 7b155f111daf5d7ae477b16d0f0789b1113bea74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jun 2012 00:04:33 +0300 Subject: Fix some issues after auto checking. --- src/gui/palette.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui/palette.h') 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; -- cgit v1.2.3-70-g09d2