summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textbuf.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/textbuf.cpp b/src/textbuf.cpp
index dc1d7a7cb..9c8753d89 100644
--- a/src/textbuf.cpp
+++ b/src/textbuf.cpp
@@ -112,10 +112,6 @@ bool Textbuf::DeleteChar(int delmode)
bool backspace = delmode == (WKC_CTRL | WKC_BACKSPACE);
if (!CanDelChar(backspace)) return false;
-
- /* Unconditionally delete one char to the left. */
- this->DelChar(backspace);
- if (!CanDelChar(backspace)) return false;
WChar c = this->GetNextDelChar(backspace);
/* Backspace: Delete left whitespaces.