mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4337: part of condition is always true
Problem: Part of condition is always true. Solution: Remove that part of the condition. (closes #9729)
This commit is contained in:
committed by
Bram Moolenaar
parent
769f5895eb
commit
78a8404f8b
@@ -416,7 +416,7 @@ repeat:
|
||||
// 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 = FullName_save(*fnamep, FALSE);
|
||||
|
Reference in New Issue
Block a user