aboutsummaryrefslogtreecommitdiff
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2011-05-25 18:01:12 -0700
committerCarl Worth <cworth@cworth.org>2011-05-27 16:18:57 -0700
commit757e06f74bb7b5f69c0a20c7a5432150e074055d (patch)
treeb3061dd1e44d1b1d74d75e02ebafd24e0701ce53 /notmuch-reply.c
parent5659d422315ebd46f80db739e28a58b51590b64f (diff)
Use empty strings instead of NULL in format_reply structure.
This keeps things consistent with notmuch-show, and prevents having to check for the existence of the field pointer for simple string output formats.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 8c5e76c..7959935 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -29,12 +29,12 @@ reply_part (GMimeObject *part,
unused (int *part_count));
static const notmuch_show_format_t format_reply = {
- NULL,
- NULL, NULL,
- NULL, NULL, NULL,
- NULL, reply_part, NULL, NULL, NULL,
- NULL, NULL,
- NULL
+ "",
+ "", NULL,
+ "", NULL, "",
+ "", reply_part, NULL, "", "",
+ "", "",
+ ""
};
static void