Patch 8.2.4337
Problem:    Part of condition is always true.
Solution:   Remove that part of the condition. (closes #9729)
Files:      src/filepath.c


*** ../vim-8.2.4336/src/filepath.c      2022-02-03 13:32:59.266208214 +0000
--- src/filepath.c      2022-02-09 15:19:08.483321347 +0000
***************
*** 416,422 ****
        // Need full path first (use expand_env() to remove a "~/")
        if (!has_fullname && !has_homerelative)
        {
!           if ((c == '.' || c == '~') && **fnamep == '~')
                p = pbuf = expand_env_save(*fnamep);
            else
                p = pbuf = FullName_save(*fnamep, FALSE);
--- 416,422 ----
        // Need full path first (use expand_env() to remove a "~/")
        if (!has_fullname && !has_homerelative)
        {
!           if (**fnamep == '~')
                p = pbuf = expand_env_save(*fnamep);
            else
                p = pbuf = FullName_save(*fnamep, FALSE);
*** ../vim-8.2.4336/src/version.c       2022-02-09 14:31:02.380030992 +0000
--- src/version.c       2022-02-09 15:20:04.147239368 +0000
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4337,
  /**/

-- 
How To Keep A Healthy Level Of Insanity:
9. As often as possible, skip rather than walk.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220209152131.33B2B1C1905%40moolenaar.net.

Raspunde prin e-mail lui