From d5a975b46475418f929eded0b4640328f5fef147 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 16 Sep 2003 19:07:29 +0000 Subject: [PATCH] Fixed a dumb bug with the data block optimizer that caused the compiler to crash if something was actually optimized git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2924 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/build.cpp b/Source/build.cpp index 5a62364f..e89f1ec7 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -725,6 +725,7 @@ int CEXEBuild::datablock_optimize(int start_offset) { db_opt_save += this_len; db->resize(max(start_offset, pos + this_len)); + db->setro(FALSE); return pos; } }