From 66a13266e6eb8e99a8deff7844125ce70150c70a Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 30 Jan 2022 11:58:03 +0100 Subject: [PATCH] fix: Pasting bytes not working at all --- plugins/builtin/source/content/views/view_hexeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_hexeditor.cpp b/plugins/builtin/source/content/views/view_hexeditor.cpp index 15e8a8511..380c9d94f 100644 --- a/plugins/builtin/source/content/views/view_hexeditor.cpp +++ b/plugins/builtin/source/content/views/view_hexeditor.cpp @@ -440,7 +440,7 @@ namespace hex::plugin::builtin { } // Write bytes - provider->read(start + provider->getBaseAddress() + provider->getCurrentPageAddress(), buffer.data(), std::min(end - start + 1, buffer.size())); + provider->write(start + provider->getBaseAddress() + provider->getCurrentPageAddress(), buffer.data(), std::min(end - start + 1, buffer.size())); } void ViewHexEditor::copyString() const {