Commit 0b2767bd authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

NSIS: Close searches if it's completed

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3742cc06
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
FindNext $0 $1 FindNext $0 $1
Goto "${Index}-Loop" Goto "${Index}-Loop"
"${Index}-End:" "${Index}-End:"
FindClose $0
!undef Index !undef Index
!macroend !macroend
...@@ -57,6 +58,7 @@ Function InstallFolderInternal ...@@ -57,6 +58,7 @@ Function InstallFolderInternal
FindNext $0 $1 FindNext $0 $1
Goto "${Index}-Loop" Goto "${Index}-Loop"
"${Index}-End:" "${Index}-End:"
FindClose $0
!undef Index !undef Index
FunctionEnd FunctionEnd
;;; End of Macros ;;; End of Macros
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment