break;
case 'v':
- snprintf(fmt, sizeof(fmt), "NeoMutt %%s%%s");
- snprintf(buf, buflen, fmt, PACKAGE_VERSION, GitVer);
+ snprintf(buf, buflen, "NeoMutt %s%s", PACKAGE_VERSION, GitVer);
break;
case 0:
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
struct CryptEntry *entry = NULL;
struct CryptKeyInfo *key = NULL;
int kflags = 0;
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
struct PgpCommandContext *cctx = (struct PgpCommandContext *) data;
int optional = (flags & MUTT_FORMAT_OPTIONAL);
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
struct PgpEntry *entry = NULL;
struct PgpUid *uid = NULL;
struct PgpKeyInfo *key = NULL, *pkey = NULL;
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
struct SmimeCommandContext *cctx = (struct SmimeCommandContext *) data;
int optional = (flags & MUTT_FORMAT_OPTIONAL);
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
char tmp[SHORT_STRING];
char charset[SHORT_STRING];
struct AttachPtr *aptr = (struct AttachPtr *) data;
const char *if_str, const char *else_str,
unsigned long data, enum FormatFlag flags)
{
- char fmt[16];
+ char fmt[SHORT_STRING];
struct Remailer *remailer = (struct Remailer *) data;
int optional = (flags & MUTT_FORMAT_OPTIONAL);