diff options
author | nyamatongwe <unknown> | 2002-02-09 08:36:16 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-02-09 08:36:16 +0000 |
commit | e3c4b8aaeb8b7986ca565674fc008fed6c33667d (patch) | |
tree | c1cd96bc3ffcb55dad48f0b74378f3bc77d64508 /src | |
parent | e897a678149136fb68059353bfd88c0103e9a138 (diff) | |
download | scintilla-mirror-e3c4b8aaeb8b7986ca565674fc008fed6c33667d.tar.gz |
Removed unused variable.
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; } } |