X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=e7d2886cd016d9f9a7b32d2bcc33b423fd8c3327;hp=9e0ebccfba981a3748c0b671c5abf24ef68fef75;hb=92f33a4a968296528f1d5f151ff700210840cb2c;hpb=1f2995420ee1612199ab8af9909159a2a8afbdab diff --git a/compose.c b/compose.c index 9e0ebcc..e7d2886 100644 --- a/compose.c +++ b/compose.c @@ -90,7 +90,7 @@ enum { #define SW (option(OPTMBOXPANE)?SidebarWidth:0) #define W (COLS - HDR_XOFFSET - SW) -static char *Prompts[] = { +static const char *Prompts[] = { "From: ", "To: ", "Cc: ", @@ -115,7 +115,7 @@ static struct mapping_t ComposeHelp[] = { {N_("Attach file"), OP_COMPOSE_ATTACH_FILE}, {N_("Descrip"), OP_COMPOSE_EDIT_DESCRIPTION}, {N_("Help"), OP_HELP}, - {NULL} + {NULL, OP_NULL} }; #ifdef USE_NNTP @@ -127,7 +127,7 @@ static struct mapping_t ComposeNewsHelp[] = { {N_("Attach file"), OP_COMPOSE_ATTACH_FILE}, {N_("Descrip"), OP_COMPOSE_EDIT_DESCRIPTION}, {N_("Help"), OP_HELP}, - {NULL} + {NULL, OP_NULL} }; #endif @@ -207,7 +207,7 @@ static void redraw_crypt_lines (HEADER * msg) static void redraw_mix_line (LIST * chain) { int c; - char *t; + const char *t; mvaddstr (HDR_MIX, SW, " Mix: ");