aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index b410af17c..3e9f0e7b7 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -460,7 +460,7 @@ void UndoHistory::AppendAction(actionType at, int position, char *data, int leng
// Not allowed to coalesce if this set
currentAction++;
} else if (at == removeAction) {
- if (lengthData == 2) {
+ if ((lengthData == 1) || (lengthData == 2)){
if ((position + lengthData * 2) == actPrevious.position) {
; // Backspace -> OK
} else if (position == actPrevious.position) {