diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 7f7ea7168..b64f99de9 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2053,7 +2053,6 @@ void Editor::PasteRectangular(int pos, const char *ptr, int len) { return; } currentPos = pos; - int insertPos = currentPos; int xInsert = XFromPosition(currentPos); int line = pdoc->LineFromPosition(currentPos); bool prevCr = false; @@ -2075,13 +2074,11 @@ void Editor::PasteRectangular(int pos, const char *ptr, int len) { pdoc->InsertChar(currentPos, ' '); currentPos++; } - insertPos = currentPos; } prevCr = ptr[i] == '\r'; } else { pdoc->InsertString(currentPos, ptr + i, 1); currentPos++; - insertPos = currentPos; prevCr = false; } } |