aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0a5fb2d66..faba66ef5 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1544,7 +1544,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou
int numCharsInLine = 0;
// See if chars, styles, indicators, are all the same
bool allSame = true;
- char styleByte = 0;
+ char styleByte;
int styleMask = pdoc->stylingBitsMask;
// Check base line layout
for (int charInDoc = posLineStart; allSame && (charInDoc < posLineEnd); charInDoc++) {