aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-02 17:11:42 +1000
committernyamatongwe <devnull@localhost>2011-06-02 17:11:42 +1000
commit6a7347985c315a36fe0de67bdef2702d466348eb (patch)
tree40060b46cd5ab0b51971d40f66e2e926268df5b0 /src/Style.cxx
parent75adaed2a674b3e7ef13cfa25e9c11a3227a5c83 (diff)
downloadscintilla-mirror-6a7347985c315a36fe0de67bdef2702d466348eb.tar.gz
Avoid warnings due to incomplete initialization.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx4
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);