<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Minor source documentation typos.



Hi,

This fixes some typos I found while browsing the source code.

Thanks,
Simon
---
 attach.c    |    2 +-
 commands.c  |    2 +-
 curs_main.c |    2 +-
 filter.c    |    2 +-
 muttlib.c   |    2 +-
 send.c      |    6 +++---
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/attach.c b/attach.c
index 238dbc2..9e45cfd 100644
--- a/attach.c
+++ b/attach.c
@@ -938,7 +938,7 @@ int mutt_decode_save_attachment (FILE *fp, BODY *m, char 
*path,

 /* Ok, the difference between send and receive:
  * recv: BODY->filename is a suggested name, and Context|HEADER points
- *       to the attachment in mailbox which is encooded
+ *       to the attachment in mailbox which is encoded
  * send: BODY->filename points to the un-encoded file which contains the
  *       attachment
  */
diff --git a/commands.c b/commands.c
index ebd0ca5..f9c2025 100644
--- a/commands.c
+++ b/commands.c
@@ -72,7 +72,7 @@ int mutt_display_message (HEADER *cur)
   mutt_parse_mime_message (Context, cur);
   mutt_message_hook (Context, cur, M_MESSAGEHOOK);

-  /* see if crytpo is needed for this message.  if so, we should exit curses */
+  /* see if crypto is needed for this message.  if so, we should exit curses */
   if (WithCrypto && cur->security)
   {
     if (cur->security & ENCRYPT)
diff --git a/curs_main.c b/curs_main.c
index 45e5779..93d3f8b 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -227,7 +227,7 @@ static int ci_first_message (void)
       return (old);

     /* If Sort is reverse and not threaded, the latest message is first.
-     * If Sort is threaded, the latest message is first iff exactly one
+     * If Sort is threaded, the latest message is first if exactly one
      * of Sort and SortAux are reverse.
      */
     if (((Sort & SORT_REVERSE) && (Sort & SORT_MASK) != SORT_THREADS) ||
diff --git a/filter.c b/filter.c
index 8190a91..91a4d75 100644
--- a/filter.c
+++ b/filter.c
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <sys/wait.h>

-/* Invokes a commmand on a pipe and optionally connects its stdin and stdout
+/* Invokes a command on a pipe and optionally connects its stdin and stdout
  * to the specified handles.
  */
 pid_t
diff --git a/muttlib.c b/muttlib.c
index 1ba19ee..c867ce9 100644
--- a/muttlib.c
+++ b/muttlib.c
@@ -1439,7 +1439,7 @@ void mutt_FormatString (char *dest,               /* 
output buffer */

 /* This function allows the user to specify a command to read stdout from in
    place of a normal file.  If the last character in the string is a pipe (|),
-   then we assume it is a commmand to run instead of a normal file. */
+   then we assume it is a command to run instead of a normal file. */
 FILE *mutt_open_read (const char *path, pid_t *thepid)
 {
   FILE *f;
diff --git a/send.c b/send.c
index 9ee406c..0a02532 100644
--- a/send.c
+++ b/send.c
@@ -1342,7 +1342,7 @@ ci_send_message (int flags,               /* send mode */
        && generate_body (tempfp, msg, flags, ctx, cur) == -1)
       goto cleanup;

-    /* If this is a reply evaluate the 'template_file' option and but the
+    /* If this is a reply evaluate the 'template_file' option and put the
      * template below the quoted text. */
     if (flags == SENDREPLY && TemplateFile && *TemplateFile)
     {
@@ -1390,7 +1390,7 @@ ci_send_message (int flags,               /* send mode */
     if (WithCrypto && msg->security)
     {
       /*
-       * When reypling / forwarding, use the original message's
+       * When replying / forwarding, use the original message's
        * crypto system.  According to the documentation,
        * smime_is_default should be disregarded here.
        *
@@ -1462,7 +1462,7 @@ ci_send_message (int flags,               /* send mode */
      * don't want to do this when:
      * 1) we are sending a key/cert
      * 2) we are forwarding a message and the user doesn't want to edit it.
-     *    This is controled by the quadoption $forward_edit.  However, if
+     *    This is controlled by the quadoption $forward_edit.  However, if
      *    both $edit_headers and $autoedit are set, we want to ignore the
      *    setting of $forward_edit because the user probably needs to add the
      *    recipients.
-- 
1.7.0.3

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: pgpEXMSy5tlax.pgp
Description: PGP signature