From 95dd28933bdc82fcbf7a5510f613c3ac7ff5d83e Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 31 Dec 2005 14:23:57 +0000 Subject: [PATCH] fixed bug #1299100 - File /nonfatal line not seen by relative jumps git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4465 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/script.cpp b/Source/script.cpp index cb161952..86be6482 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -4165,6 +4165,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) else { warning_fl("%sFile: \"%s\" -> no files found",(which_token == TOK_FILE)?"":"Reserve",line.gettoken_str(a)); + + // workaround for bug #1299100 + // add a nop opcode so relative jumps will work as expected + add_entry_direct(EW_NOP); } }