From 9a810d31c8d0512f762b9dde5c07cbfccef0b97e Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Fri, 18 Jan 2019 01:44:47 +0000 Subject: [PATCH] standardise naming in ComposeRedrawData --- compose.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.c b/compose.c index b4fcef89d..3817f0872 100644 --- a/compose.c +++ b/compose.c @@ -670,7 +670,7 @@ static void update_idx(struct Menu *menu, struct AttachCtx *actx, struct AttachP */ struct ComposeRedrawData { - struct Email *msg; + struct Email *email; char *fcc; }; @@ -691,7 +691,7 @@ static void compose_custom_redraw(struct Menu *menu) { menu_redraw_full(menu); - draw_envelope(rd->msg, rd->fcc); + draw_envelope(rd->email, rd->fcc); menu->offset = HDR_ATTACH; menu->pagelen = MuttIndexWindow->rows - HDR_ATTACH; } @@ -910,7 +910,7 @@ int mutt_compose_menu(struct Email *msg, char *fcc, size_t fcclen, struct Email init_header_padding(); - rd.msg = msg; + rd.email = msg; rd.fcc = fcc; struct Menu *menu = mutt_menu_new(MENU_COMPOSE); -- 2.50.1