diff options
| -rw-r--r-- | src/Editor.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 585acb086..2f2458861 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2056,6 +2056,7 @@ void Editor::PasteRectangular(SelectionPosition pos, const char *ptr, int len) {  			sel.RangeMain().caret.SetPosition(PositionFromLineX(line, xInsert));  			if ((XFromPosition(sel.MainCaret()) < xInsert) && (i + 1 < len)) {  				while (XFromPosition(sel.MainCaret()) < xInsert) { +					assert(pdoc);  					const int lengthInserted = pdoc->InsertString(sel.MainCaret(), " ", 1);  					sel.RangeMain().caret.Add(lengthInserted);  				}  | 
