diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-05 06:50:34 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-05 06:50:34 +0000 |
commit | 36e5542d348582f86d5ceb01f0dae762b08532c6 (patch) | |
tree | 802a9b3c64c59793a438d42728db67f254e52632 | |
parent | 14f423b46f8ed5165bb57315c396ee7612b6e149 (diff) |
small fixes from Gero Treuner.
-rw-r--r-- | compose.c | 4 | ||||
-rw-r--r-- | mutt.h | 1 | ||||
-rw-r--r-- | recvattach.c | 4 |
3 files changed, 6 insertions, 3 deletions
@@ -37,7 +37,9 @@ #include <unistd.h> #include <stdlib.h> -#define CHECK_COUNT if (idxlen == 0) { mutt_error _("There are no attachments."); break; } +static const char* There_are_no_attachments = N_("There are no attachments."); + +#define CHECK_COUNT if (idxlen == 0) { mutt_error _(There_are_no_attachments); break; } @@ -646,7 +646,6 @@ typedef struct unsigned int readonly : 1; /* don't allow changes to the mailbox */ unsigned int dontwrite : 1; /* dont write the mailbox on close */ unsigned int append : 1; /* mailbox is opened in append mode */ - unsigned int setgid : 1; unsigned int quiet : 1; /* inhibit status messages? */ unsigned int revsort : 1; /* mailbox sorted in reverse? */ unsigned int collapsed : 1; /* are all threads collapsed? */ diff --git a/recvattach.c b/recvattach.c index ed60b777..120e050d 100644 --- a/recvattach.c +++ b/recvattach.c @@ -945,10 +945,12 @@ mutt_attach_display_loop (MUTTMENU *menu, int op, FILE *fp, ATTACHPTR **idx) } +static const char *Function_not_permitted = N_("Function not permitted in attach-message mode."); + #define CHECK_ATTACH if(option(OPTATTACHMSG)) \ {\ mutt_flushinp (); \ - mutt_error ("Function not permitted in attach-message mode."); \ + mutt_error _(Function_not_permitted); \ break; \ } |