diff options
author | nyamatongwe <devnull@localhost> | 2002-02-09 08:36:16 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-02-09 08:36:16 +0000 |
commit | 9ab0386ac37a6939c838ab3c4cc64fa6c14e2fc8 (patch) | |
tree | c1cd96bc3ffcb55dad48f0b74378f3bc77d64508 /src | |
parent | f77c8ccf4b6bf7357c15d80eca9769bed4907163 (diff) | |
download | scintilla-mirror-9ab0386ac37a6939c838ab3c4cc64fa6c14e2fc8.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; } } |