aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-07 12:04:36 +0000
committernyamatongwe <unknown>2000-04-07 12:04:36 +0000
commit2b655a29a4e4d7e343884b85742aed8a033b6eef (patch)
tree337dc33f1d022c7a460caf1e607bac12fe6e7b61 /src/Style.cxx
parentcda547b4fc80be948f4c1a0b3973706d1ba3b8eb (diff)
downloadscintilla-mirror-2b655a29a4e4d7e343884b85742aed8a033b6eef.tar.gz
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Style.cxx b/src/Style.cxx
index 483023321..47ca196f3 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -16,6 +16,18 @@ Style::Style() {
false, false, false);
}
+Style::Style(const Style &source) {
+ Clear(Colour(0,0,0), Colour(0xff,0xff,0xff),
+ 0, 0,
+ false, false, false);
+ fore.desired = source.fore.desired;
+ back.desired = source.back.desired;
+ bold = source.bold;
+ italic = source.italic;
+ size = source.size;
+ eolFilled = source.eolFilled;
+}
+
Style::~Style() {
if (aliasOfDefaultFont)
font.SetID(0);