aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 374e2b33f..97cb64329 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -54,6 +54,8 @@ public:
int lines;
enum {maxDisplayLines = 400};
int lineStarts[maxDisplayLines];
+
+ LineLayout() : numCharsInLine(0) {}
};
class SelectionText {