aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index da22161c6..71aaeae53 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5940,7 +5940,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
EnsureCaretVisible();
break;
- case Message::PasteRectangular: {
+ case Message::ReplaceRectangular: {
UndoGroup ug(pdoc);
if (!sel.Empty()) {
ClearSelection(); // want to replace rectangular selection contents