From: Steve Brokenshire Date: Sat, 18 Jun 2016 22:31:47 +0000 (+0100) Subject: Set default values for the colours/alpha in the Colour struct X-Git-Tag: release-0.02~123 X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=commitdiff_plain;h=88dd6a205052fbf1d53083eb7e4733a7cf251db1 Set default values for the colours/alpha in the Colour struct --- diff --git a/source/common/colour.h b/source/common/colour.h index 8eebe41..93d42a6 100644 --- a/source/common/colour.h +++ b/source/common/colour.h @@ -26,10 +26,10 @@ using namespace std; struct Colour{ - int red; - int blue; - int green; - int alpha; + int red = 0; + int blue = 0; + int green = 0; + int alpha = 255; operator string() {