aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-09 08:36:16 +0000
committernyamatongwe <unknown>2002-02-09 08:36:16 +0000
commite3c4b8aaeb8b7986ca565674fc008fed6c33667d (patch)
treec1cd96bc3ffcb55dad48f0b74378f3bc77d64508
parente897a678149136fb68059353bfd88c0103e9a138 (diff)
downloadscintilla-mirror-e3c4b8aaeb8b7986ca565674fc008fed6c33667d.tar.gz
Removed unused variable.
-rw-r--r--src/Editor.cxx3
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;
}
}