From 78a8404f8b6ad0152614d5fdc3ec277444c1eee5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=3D=3FUTF-8=3Fq=3FDundar=3D20G=3DC3=3DB6c=3F=3D?= Date: Wed, 9 Feb 2022 15:20:39 +0000 Subject: [PATCH] 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) --- src/filepath.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/filepath.c b/src/filepath.c index 4abf8f498..929fa56a4 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -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); diff --git a/src/version.c b/src/version.c index 824f17264..a02fefdc4 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4337, /**/ 4336, /**/ -- 2.40.0