From 04450c7dec24cf0b4a65dd5f81394cf95b41a708 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 2 Mar 2006 17:12:40 +0000 Subject: [PATCH] fixed bug #1441877 - !include keeps searching include dirs even after match git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4542 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/script.cpp b/Source/script.cpp index 6ddfbc58..c11d0ae6 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2923,6 +2923,9 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) included++; } + if (included) + return PS_OK; + } // nothing found