summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-15 16:11:37 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-15 16:11:37 +0000
commitfbb98a0704e9e00893920565effd3d0257c36188 (patch)
treee1a9fa0713cfa9f83e61312c484ab7c1dfd97631 /compose.c
parenta9ea1add36030ef996c8f434a2baadb32ed4357d (diff)
A slightly modified version of Vikas' help_unbound patch.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index 268619cc..db8be3c7 100644
--- a/compose.c
+++ b/compose.c
@@ -814,8 +814,16 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
{
if ((i = mutt_check_encoding (buf)) != ENCOTHER)
{
+#ifndef PERMIT_DEPRECATED_UUENCODED_MESSAGES
+ if (i == ENCUUENCODED)
+ {
+ mutt_error _("Invalid encoding.");
+ break;
+ }
+#else
if(i != ENCUUENCODED ||
mutt_yesorno(_("This encoding is deprecated. Really use it?"), 0) == M_YES)
+#endif
{
idx[menu->current]->content->encoding = i;
menu->redraw = REDRAW_CURRENT;