diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-02 09:38:06 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-02 09:38:06 +0000 |
commit | 6007032453d4c6c42a95fb5501f304df2eca208d (patch) | |
tree | 1be3147e1c5d232a38f483e658036067da35cc86 /edit.c | |
parent | 6cea8491831669a2260e5bc69451263ef79a52f9 (diff) |
With SLang, addstr() is a macro. This means we should put
additional braces around _()-style arguments.
Diffstat (limited to 'edit.c')
-rw-r--r-- | edit.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -309,7 +309,7 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) be_edit_header (msg->env, 0); - addstr _("(End message with a . on a line by itself)\n"); + addstr (_("(End message with a . on a line by itself)\n")); buf = be_snarf_file (path, buf, &bufmax, &buflen, 0); @@ -336,7 +336,7 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) switch (tmp[1]) { case '?': - addstr _(EditorHelp); + addstr (_(EditorHelp)); break; case 'b': msg->env->bcc = mutt_parse_adrlist (msg->env->bcc, p); @@ -367,15 +367,15 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) (isupper ((unsigned char) tmp[1]))); } else - addstr _("No mailbox.\n"); + addstr (_("No mailbox.\n")); break; case 'p': addstr ("-----\n"); - addstr _("Message contains:\n"); + addstr (_("Message contains:\n")); be_print_header (msg->env); for (i = 0; i < buflen; i++) addstr (buf[i]); - addstr _("(continue)\n"); + addstr (_("(continue)\n")); break; case 'q': done = 1; @@ -388,7 +388,7 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) buf = be_snarf_file (tmp, buf, &bufmax, &buflen, 1); } else - addstr _("missing filename.\n"); + addstr (_("missing filename.\n")); break; case 's': safe_free ((void **) &msg->env->subject); @@ -409,7 +409,7 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) continue; } else - addstr _("No lines in message.\n"); + addstr (_("No lines in message.\n")); break; case 'e': @@ -427,7 +427,7 @@ int mutt_builtin_editor (const char *path, HEADER *msg, HEADER *cur) buf = be_snarf_file (path, buf, &bufmax, &buflen, 0); - addstr _("(continue)\n"); + addstr (_("(continue)\n")); } break; case 'w': |