Don't use explicit join() in match() calls.

This commit is contained in:
Markus Braun 2011-07-05 09:35:11 +02:00
parent 96f3901aa0
commit 3aa8e8d1dd

View File

@ -408,7 +408,7 @@ fun s:GPGEncrypt()
let recipients=recipients . " -r " . gpgid
endfor
else
if (match(join(b:GPGOptions, " "), "encrypt") >= 0)
if (match(b:GPGOptions, "encrypt") >= 0)
echohl GPGError
echom "There are no recipients!!"
echom "Please use GPGEditRecipients to correct!!"