From a74191bc53df482ce637ba585016105673add785 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Jul 2011 03:12:59 +0300 Subject: Fix some code style and compilation warnings. --- src/gui/palette.h | 5 +++++ src/gui/updatewindow.cpp | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/palette.h b/src/gui/palette.h index f89b31fca..9409bfc06 100644 --- a/src/gui/palette.h +++ b/src/gui/palette.h @@ -158,8 +158,13 @@ class Palette ColorElem() { type = 0; + color = 0; + testColor = 0; + committedColor = 0; text = ""; ch = 0; + grad = STATIC; + committedGrad = STATIC; gradientIndex = 0; delay = 0; committedDelay = 0; diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 27718928d..eb5471e2a 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -420,8 +420,9 @@ void UpdaterWindow::download() } if (mDownloadStatus == UPDATE_PATCH) { - mDownload = new Net::Download(this, "http://manaplus.evolonline.org/update/" - + mCurrentFile, updateProgress, true); + mDownload = new Net::Download(this, + "http://manaplus.evolonline.org/update/" + mCurrentFile, + updateProgress, true); } else { -- cgit v1.2.3-70-g09d2