]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(zip): revert unintended change to zip#Write()
authorChristian Brabandt <cb@256bit.org>
Sat, 15 Jun 2024 14:05:35 +0000 (16:05 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 15 Jun 2024 14:05:35 +0000 (16:05 +0200)
This was wrongly included as of patch 1c6734291295bf8aa39577840b40bb
because apparently I messed up the use of git apply :/

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/zip.vim

index fdd1a155ff7db2cf95dd8182b8149e9f6890bf47..d0e706e83ac241762c923f8d7360a7ddc47b6103 100644 (file)
@@ -307,7 +307,6 @@ fun! zip#Write(fname)
   if has("unix")
    let zipfile = substitute(a:fname,'zipfile://\(.\{-}\)::[^\\].*$','\1','')
    let fname   = substitute(a:fname,'zipfile://.\{-}::\([^\\].*\)$','\1','')
-   let fname   = fnameescape(fname)
   else
    let zipfile = substitute(a:fname,'^.\{-}zipfile://\(.\{-}\)::[^\\].*$','\1','')
    let fname   = substitute(a:fname,'^.\{-}zipfile://.\{-}::\([^\\].*\)$','\1','')