From e3c4b8aaeb8b7986ca565674fc008fed6c33667d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 9 Feb 2002 08:36:16 +0000 Subject: Removed unused variable. --- src/Editor.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3