diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index a6c0cf577..bd124d011 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -225,7 +225,7 @@ void LineVector::InsertValue(int pos, int value) { } else if (pos == (lines - 1)) { // Last line will not be a folder levels[pos] = SC_FOLDLEVELBASE; } else { - levels[pos] = levels[pos - 1]; + levels[pos] = levels[pos - 1] & ~SC_FOLDLEVELWHITEFLAG; } } } |