]> git.notmuchmail.org Git - notmuch/commit
Normalize part counting and formatting in show_message_part function.
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 23 May 2011 05:08:08 +0000 (22:08 -0700)
committerJameson Graef Rollins <jrollins@finestructure.net>
Mon, 23 May 2011 22:30:26 +0000 (15:30 -0700)
commitecae541031911b65594c3ec757abb671583e8872
tree1b4bea963cf305cd6433679758ea5f23b2e73fbe
parent5a9d5f2f149b4c3122e2796e782c13a32571696b
Normalize part counting and formatting in show_message_part function.

Simplify the function by moving part counting and formatting outside
of conditionals, thereby eliminating redundant code.  This also wraps
message part output handling with proper part formatting.
show-message.c