[7.2.306] shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
commit6f5b3167eca7872721301c85f5d5b22cf9280f5a
authorBram Moolenaar <Bram@moolenaar.net>
Wed, 25 Nov 2009 17:13:54 +0000 (25 17:13 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Wed, 25 Nov 2009 17:13:54 +0000 (25 17:13 +0000)
tree3c21720e3fb400aa5e3dc0e3b325316049d1c369
parentc49aca7e5e5bd662a284b6725623b946aa71aec0
[7.2.306] shellescape("10%%", 1) only escapes first %. (Christian Brabandt)

Problem:    shellescape("10%%", 1) only escapes first %. (Christian Brabandt)

Solution:   Don't copy the character after the escaped one.

Patch 7.2.306
src/misc2.c
src/version.c