From 94edfa7934299423b8f4376528ca199935dec196 Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 12 Feb 2016 14:01:11 +0000 Subject: [PATCH] Don't redefine STRFUNC_*VERBOSITY when StrFunc.nsh is included multiple times git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6707 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/StrFunc.nsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/StrFunc.nsh b/Include/StrFunc.nsh index 59777335..433118f9 100644 --- a/Include/StrFunc.nsh +++ b/Include/StrFunc.nsh @@ -11,8 +11,8 @@ o-----------------------------------------------------------------------------o !verbose push 3 !define /IfNDef STRFUNC_VERBOSITY 3 -!define _STRFUNC_VERBOSITY ${STRFUNC_VERBOSITY} -!define _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY} +!define /IfNDef _STRFUNC_VERBOSITY ${STRFUNC_VERBOSITY} +!define /IfNDef _STRFUNC_CREDITVERBOSITY ${STRFUNC_VERBOSITY} !undef STRFUNC_VERBOSITY !verbose ${_STRFUNC_VERBOSITY}