diff options
author | nyamatongwe <unknown> | 2010-03-14 03:31:53 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-03-14 03:31:53 +0000 |
commit | c689e3706bad0797f542ace0292d81bc62ce1f83 (patch) | |
tree | 60d885b5bd010738ca86f0357907ff595a263829 /src | |
parent | abbacd88fd6cbf6b093d5f2e6335f1f5aa4a57f3 (diff) | |
download | scintilla-mirror-c689e3706bad0797f542ace0292d81bc62ce1f83.tar.gz |
More members initialised in constructor even though they will be filled in
later by Realise.
Diffstat (limited to 'src')
-rw-r--r-- | src/Style.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Style.cxx b/src/Style.cxx index 4314dec0a..392fd1c9a 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -92,6 +92,13 @@ void Style::Clear(ColourDesired fore_, ColourDesired back_, int size_, else font.Release(); aliasOfDefaultFont = false; + sizeZoomed = 2; + lineHeight = 2; + ascent = 1; + descent = 1; + externalLeading = 0; + aveCharWidth = 1; + spaceWidth = 1; } void Style::ClearTo(const Style &source) { |