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)
diff --git a/src/filepath.c b/src/filepath.c
index 4abf8f4..929fa56 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -416,7 +416,7 @@
// 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 824f172..a02fefd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4337,
+/**/
4336,
/**/
4335,