aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hardcopy.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-06-20 20:34:24 -0400
committerJames McCoy <jamessan@jamessan.com>2016-07-08 01:45:15 -0400
commit080476882be32768a97e26af22133435ccb8fc2a (patch)
treedfbde66af3230fb1ed70319ea0c92930eda94806 /src/nvim/hardcopy.c
parent55dcf0918c364dd58e700cde5f2efbf7da4b3051 (diff)
downloadrneovim-080476882be32768a97e26af22133435ccb8fc2a.tar.gz
rneovim-080476882be32768a97e26af22133435ccb8fc2a.tar.bz2
rneovim-080476882be32768a97e26af22133435ccb8fc2a.zip
vim-patch:7.4.1552
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'. https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r--src/nvim/hardcopy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c
index 916d27a964..1c9b8e18ef 100644
--- a/src/nvim/hardcopy.c
+++ b/src/nvim/hardcopy.c
@@ -1526,8 +1526,7 @@ static int prt_find_resource(char *name, struct prt_ps_resource_S *resource)
vim_strcat(buffer, (char_u *)name, MAXPATHL);
vim_strcat(buffer, (char_u *)".ps", MAXPATHL);
resource->filename[0] = NUL;
- retval = (do_in_runtimepath(buffer, FALSE, prt_resource_name,
- resource->filename)
+ retval = (do_in_runtimepath(buffer, 0, prt_resource_name, resource->filename)
&& resource->filename[0] != NUL);
xfree(buffer);
return retval;