Trivial change.
authormarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 13:40:17 +0000 (15:40 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 13:40:17 +0000 (15:40 +0200)
uip/whatnow.c

index 75d9a9b..d0b0f93 100644 (file)
@@ -625,9 +625,6 @@ editfile(char **ed, char **arg, char *file, int use, struct msgs *mp,
                else
                        snprintf(linkpath, sizeof(linkpath), "%s/%s",
                                        cwd, altmsglink);
-       }
-
-       if (altmsg) {
                unlink(linkpath);
 #ifdef HAVE_LSTAT
                if (link(altpath, linkpath) == NOTOK) {