diff options
Diffstat (limited to 'show-message.c')
-rw-r--r-- | show-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/show-message.c b/show-message.c index 784981b..05ced9c 100644 --- a/show-message.c +++ b/show-message.c @@ -26,8 +26,6 @@ static void show_message_part (GMimeObject *part, int *part_count, void (*show_part) (GMimeObject *part, int *part_count)) { - *part_count = *part_count + 1; - if (GMIME_IS_MULTIPART (part)) { GMimeMultipart *multipart = GMIME_MULTIPART (part); int i; @@ -56,6 +54,8 @@ show_message_part (GMimeObject *part, int *part_count, return; } + *part_count = *part_count + 1; + (*show_part) (part, part_count); } |