diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 1db0d7d0a..7134d3188 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -21,7 +21,7 @@ using namespace Scintilla; #endif -LineVector::LineVector() : starts(256) { +LineVector::LineVector() : starts(256), perLine(0) { Init(); } @@ -31,6 +31,9 @@ LineVector::~LineVector() { void LineVector::Init() { starts.DeleteAll(); + if (perLine) { + perLine->Init(); + } } void LineVector::SetPerLine(PerLine *pl) { |