forked from aniani/vim
patch 7.4.1552
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
This commit is contained in:
@@ -4988,7 +4988,7 @@ gui_find_bitmap(char_u *name, char_u *buffer, char *ext)
|
||||
if (STRLEN(name) > MAXPATHL - 14)
|
||||
return FAIL;
|
||||
vim_snprintf((char *)buffer, MAXPATHL, "bitmaps/%s.%s", name, ext);
|
||||
if (do_in_runtimepath(buffer, FALSE, gfp_setname, buffer) == FAIL
|
||||
if (do_in_runtimepath(buffer, 0, gfp_setname, buffer) == FAIL
|
||||
|| *buffer == NUL)
|
||||
return FAIL;
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user