X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fcomp.c;h=5ebce6ed0e0855957311933e206f8691bad68491;hb=56a34bc502bde807ab722ee5f20d4db2901a5b23;hp=8fced484def5a5be30089c3d19a2ecd1fcd8ef09;hpb=b439ec143c4d2e2daf4b0a9c332123f24500cd9a;p=mmh diff --git a/uip/comp.c b/uip/comp.c index 8fced48..5ebce6e 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -2,8 +2,6 @@ /* * comp.c -- compose a message * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -172,7 +170,7 @@ main (int argc, char **argv) if (folder) adios (NULL, "only one folder at a time!"); else - folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + folder = pluspath (cp); } else { if (msg) adios (NULL, "only one message at a time!"); @@ -296,5 +294,6 @@ edit_it: if (nwhat) done (0); what_now (ed, nedit, use, drft, NULL, 0, NULLMP, NULL, 0, cwd); - return done (1); + done (1); + return 1; }