summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailinfo.c b/mailinfo.c
index 6c4d589..ae279bf 100644
--- a/mailinfo.c
+++ b/mailinfo.c
@@ -193,7 +193,8 @@ static void handle_rest(void)
do {
if (!memcmp("diff -", line, 6) ||
- !memcmp("---", line, 3))
+ !memcmp("---", line, 3) ||
+ !memcmp("Index: ", line, 7))
out = patchfile;
fputs(line, out);