Removed blank line after "End of Forwarded Message" lines. It's
authorDavid Levine <levinedl@acm.org>
Tue, 28 Feb 2012 03:10:47 +0000 (21:10 -0600)
committerDavid Levine <levinedl@acm.org>
Tue, 28 Feb 2012 03:11:58 +0000 (21:11 -0600)
always bothered me.

test/forw/test-forw-format
uip/forw.c
uip/mhlsbr.c

index c3e7600..e87ce2f 100755 (executable)
@@ -62,7 +62,6 @@ cat `mhpath +inbox 1` >> "$expected"
 cat >> "$expected" <<EOF
 
 ------- End of Forwarded Message
-
 EOF
 
 forw -editor true -form "${form}" -from "${from}" -to "${to1}" -to "${to2}" \
index 22ecc00..2d56e6b 100644 (file)
@@ -659,7 +659,7 @@ copy_draft (int out, char *digest, char *file, int volume, int issue, int dashst
     if (digest) {
        strncpy (buffer, delim4, sizeof(buffer));
     } else {
-       snprintf (buffer, sizeof(buffer), "\n------- End of Forwarded Message%s\n\n",
+       snprintf (buffer, sizeof(buffer), "\n------- End of Forwarded Message%s\n",
                mp->numsel > 1 ? "s" : "");
     }
     write (out, buffer, strlen (buffer));
index 6bfbade..68cb7f9 100644 (file)
@@ -484,7 +484,7 @@ mhl (int argc, char **argv)
            printf ("%s", buf);
        }
        else
-           printf ("\n------- End of Forwarded Message%s\n\n",
+           printf ("\n------- End of Forwarded Message%s\n",
                    vecp > 1 ? "s" : "");
     }