Bugfix SetProject mit Browse
git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@176 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69
This commit is contained in:
parent
e02489adcb
commit
73a88c58e3
@ -104,7 +104,8 @@ function s:SetProject(projectfile)
|
||||
\ . "Makefiles\tmakefile;*.mak\n"
|
||||
\ . "All\ Files\t*\n"
|
||||
let projectfilePath = fnamemodify(browse(0, 'Select projectfile', l:WA, ''), ':p')
|
||||
if !filereadable(a:projectfile)
|
||||
if !filereadable(projectfilePath)
|
||||
echoerr 'File not readable: ' . projectfilePath
|
||||
" Cancel
|
||||
return
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user