diff options
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index 77affc0c3..ce4420b33 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -473,13 +473,12 @@ mch_isFullName(char_u *fname) slash_adjust(p) char_u *p; { - if (p != NULL) - while (*p) - { - if (*p == psepcN) - *p = psepc; - mb_ptr_adv(p); - } + while (*p) + { + if (*p == psepcN) + *p = psepc; + mb_ptr_adv(p); + } } |