aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-03-13 06:33:34 +0000
committernyamatongwe <unknown>2000-03-13 06:33:34 +0000
commitaffaa0735a05a789d95baed82c903d9b571a2c00 (patch)
tree971c5b8e64f8a2130a678bffe82ff526915967e0 /src/Style.cxx
parent99c218655d2fbc87781b9695b22d790c5e6251eb (diff)
downloadscintilla-mirror-affaa0735a05a789d95baed82c903d9b571a2c00.tar.gz
Fixed printing problems including putting line numbers in correct position
and flushing state when switching surfaces in case surfaces are encapsulating a shared underlying graphics context.
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;
}