diff --git a/setup/Ninja.nsi b/setup/Ninja.nsi index 94f0042..d1b577f 100644 --- a/setup/Ninja.nsi +++ b/setup/Ninja.nsi @@ -254,9 +254,8 @@ Section !$(NameSecAppFiles) SecAppFiles IfErrors "" main ; Add comma if necessary - ${WordFind} "$4" "." "E#" $3 - IfErrors +2 - StrCpy $4 "$4 ," + StrCmp "$4" "" +2 + StrCpy $4 "$4," ; Append to list DetailPrint "Add Ninja.dll to PluginList ($IniFile)..."