mirror of
https://github.com/neovim/neovim.git
synced 2025-12-02 23:13:01 +00:00
vim-patch:8.2.4337: part of condition is always true (#17352)
Problem: Part of condition is always true.
Solution: Remove that part of the condition. (closes vim/vim#9729)
78a8404f8b
This commit is contained in:
@@ -10700,7 +10700,7 @@ repeat:
|
||||
pbuf = NULL;
|
||||
// Need full path first (use expand_env() to remove a "~/")
|
||||
if (!has_fullname && !has_homerelative) {
|
||||
if ((c == '.' || c == '~') && **fnamep == '~') {
|
||||
if (**fnamep == '~') {
|
||||
p = pbuf = expand_env_save(*fnamep);
|
||||
} else {
|
||||
p = pbuf = (char_u *)FullName_save((char *)*fnamep, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user