diff options
author | nyamatongwe <devnull@localhost> | 2010-03-14 03:31:53 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-03-14 03:31:53 +0000 |
commit | 695fa00d0dc38b0e5ea1367b7b2c04d283ab070e (patch) | |
tree | 60d885b5bd010738ca86f0357907ff595a263829 | |
parent | 837b4e4f934311c7afd07c73fe5b05522e719ba0 (diff) | |
download | scintilla-mirror-695fa00d0dc38b0e5ea1367b7b2c04d283ab070e.tar.gz |
More members initialised in constructor even though they will be filled in
later by Realise.
-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) { |