]> diplodocus.org Git - nmh/blobdiff - sbr/path.c
mhparse.h: Add externs for skip_mp_cte_check, etc.
[nmh] / sbr / path.c
index 3038df413f4755c8dbfbdf90f0664ee9c9542dea..bf9283a30437bf4464b75f0dcae48e930a76a063 100644 (file)
@@ -78,9 +78,8 @@ expath (char *name, int flag)
     ep = pwds + strlen (pwds);
     if ((cp = strrchr(pwds, '/')) == NULL)
        cp = ep;
-    else
-       if (cp == pwds)
-           cp++;
+    else if (cp == pwds)
+        cp++;
 
     if (has_prefix(name, CWD))
        name += LEN(CWD);