diff options
author | nyamatongwe <unknown> | 2011-06-02 17:11:42 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-06-02 17:11:42 +1000 |
commit | 80215da9872d91f6a57d35fb574129d71cd5bccf (patch) | |
tree | 0681f0b1d2bbce83af36f348509abda5cc14f8d1 /src | |
parent | 910999a322e3c7cf69a779acb89253496a082797 (diff) | |
download | scintilla-mirror-80215da9872d91f6a57d35fb574129d71cd5bccf.tar.gz |
Avoid warnings due to incomplete initialization.
Diffstat (limited to 'src')
-rw-r--r-- | src/Style.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Style.cxx b/src/Style.cxx index bf065b6e8..ce1f0908e 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -54,13 +54,13 @@ void FontMeasurements::Clear() { sizeZoomed = 2; } -Style::Style() { +Style::Style() : FontSpecification() { Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff), Platform::DefaultFontSize(), 0, SC_CHARSET_DEFAULT, false, false, false, false, caseMixed, true, true, false); } -Style::Style(const Style &source) { +Style::Style(const Style &source) : FontSpecification(), FontMeasurements() { Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff), 0, 0, 0, false, false, false, false, caseMixed, true, true, false); |