aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-03-08 11:04:57 +0000
committernyamatongwe <devnull@localhost>2004-03-08 11:04:57 +0000
commit8334125ce532ed3e62671fc1e0894d57a0e0a375 (patch)
treeb8d430f4c8738f5702912decead8676bcebed351 /src/ViewStyle.cxx
parent606db517eb9f985089d53a471395fb44ca291fb4 (diff)
downloadscintilla-mirror-8334125ce532ed3e62671fc1e0894d57a0e0a375.tar.gz
Ensure someStylesProtected is initialised.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index e2a65e09e..8df779079 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -98,6 +98,7 @@ ViewStyle::ViewStyle(const ViewStyle &source) {
edgecolour.desired = source.edgecolour.desired;
edgeState = source.edgeState;
caretWidth = source.caretWidth;
+ someStylesProtected = false;
leftMarginWidth = source.leftMarginWidth;
rightMarginWidth = source.rightMarginWidth;
for (int i=0;i < margins; i++) {