X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnow.c;h=6e58052b88991053cdb94eaa557ce1a98a55b1ab;hp=d0b0f93abf190be4eb4d9d2d8255e59d3f78c73b;hb=8edc5aaf86f9f77124664f6801bc6c6cdf258173;hpb=dfecfa4b4b77983ddf8253b1b8effaf5c1a0ce80 diff --git a/uip/whatnow.c b/uip/whatnow.c index d0b0f93..6e58052 100644 --- a/uip/whatnow.c +++ b/uip/whatnow.c @@ -671,9 +671,9 @@ editfile(char **ed, char **arg, char *file, int use, struct msgs *mp, default: if ((status = pidwait(pid, NOTOK))) { - if (((status & 0xff00) != 0xff00) - && (!reedit || (status & 0x00ff))) { - if (!use && (status & 0xff00) && (rename(file, cp = m_backup (file)) != NOTOK)) { + if (((status & 0xff00) != 0xff00) && + (!reedit || (status & 0x00ff))) { + if (!use && (status & 0xff00) && (rename(file, cp = m_backup(file)) != NOTOK)) { advise(NULL, "problems with edit--draft left in %s", cp); } else { advise(NULL, "problems with edit--%s preserved", file);