diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 1beeefc6b..6d04e04c9 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -471,6 +471,7 @@ void UndoHistory::BeginUndoAction() { } void UndoHistory::EndUndoAction() { + PLATFORM_ASSERT(undoSequenceDepth > 0); EnsureUndoRoom(); undoSequenceDepth--; if (0 == undoSequenceDepth) { |