comparison src/hardcopy.c @ 8524:2f57bbe870ea v7.4.1552

commit https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 12 22:11:39 2016 +0100 patch 7.4.1552 Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Mar 2016 22:15:05 +0100
parents bcef391c101c
children a2c27f6aaf3a
comparison
equal deleted inserted replaced
8523:299f84e1e738 8524:2f57bbe870ea
1739 STRCPY(buffer, "print"); 1739 STRCPY(buffer, "print");
1740 add_pathsep(buffer); 1740 add_pathsep(buffer);
1741 vim_strcat(buffer, (char_u *)name, MAXPATHL); 1741 vim_strcat(buffer, (char_u *)name, MAXPATHL);
1742 vim_strcat(buffer, (char_u *)".ps", MAXPATHL); 1742 vim_strcat(buffer, (char_u *)".ps", MAXPATHL);
1743 resource->filename[0] = NUL; 1743 resource->filename[0] = NUL;
1744 retval = (do_in_runtimepath(buffer, FALSE, prt_resource_name, 1744 retval = (do_in_runtimepath(buffer, 0, prt_resource_name,
1745 resource->filename) 1745 resource->filename)
1746 && resource->filename[0] != NUL); 1746 && resource->filename[0] != NUL);
1747 vim_free(buffer); 1747 vim_free(buffer);
1748 return retval; 1748 return retval;
1749 } 1749 }