aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Style.cxx b/src/Style.cxx
index 120fd6e95..75dc6eb93 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -25,17 +25,14 @@ Style::~Style() {
Style &Style::operator=(const Style &source) {
if (this == &source)
return *this;
- // Crash:
- *(char *)0 = 1;
Clear(Colour(0,0,0), Colour(0xff,0xff,0xff),
- Platform::DefaultFontSize(), 0,
+ 0, 0,
false, false, false);
fore.desired = source.fore.desired;
back.desired = source.back.desired;
bold = source.bold;
italic = source.italic;
size = source.size;
- fontName = source.fontName;
eolFilled = source.eolFilled;
return *this;
}