summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-05 06:50:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-05 06:50:34 +0000
commit36e5542d348582f86d5ceb01f0dae762b08532c6 (patch)
tree802a9b3c64c59793a438d42728db67f254e52632
parent14f423b46f8ed5165bb57315c396ee7612b6e149 (diff)
small fixes from Gero Treuner.
-rw-r--r--compose.c4
-rw-r--r--mutt.h1
-rw-r--r--recvattach.c4
3 files changed, 6 insertions, 3 deletions
diff --git a/compose.c b/compose.c
index df006cd6..e1551967 100644
--- a/compose.c
+++ b/compose.c
@@ -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; }
diff --git a/mutt.h b/mutt.h
index 39f39c5d..87f0403f 100644
--- a/mutt.h
+++ b/mutt.h
@@ -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; \
}