diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-12 22:11:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-12 22:11:39 +0100 |
commit | 7f8989dd8a627af2185df381195351a913f3777f (patch) | |
tree | 43e30468ff036d93a02f06a0ab4186f96013adc1 /src/hardcopy.c | |
parent | 6bef5306e4f2cacb3a93667992c2312d4b293c9d (diff) | |
download | vim-git-7f8989dd8a627af2185df381195351a913f3777f.tar.gz |
patch 7.4.1552v7.4.1552
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r-- | src/hardcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c index b6fa95beb..74fee2e21 100644 --- a/src/hardcopy.c +++ b/src/hardcopy.c @@ -1741,7 +1741,7 @@ 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, + retval = (do_in_runtimepath(buffer, 0, prt_resource_name, resource->filename) && resource->filename[0] != NUL); vim_free(buffer); |