]> granicus.if.org Git - neomutt/commitdiff
fix spelling
authorRichard Russon <rich@flatcap.org>
Tue, 5 Feb 2019 17:55:56 +0000 (17:55 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 8 Feb 2019 16:48:33 +0000 (16:48 +0000)
36 files changed:
ChangeLog.md
autosetup/autosetup
browser.c
config/set.h
conn/ssl.c
contrib/sample.neomuttrc
contrib/smime_keys
email/idna.c
email/rfc2047.c
email/rfc2231.c
globals.h
handler.c
hcache/hcache.h
hcache/serialize.c
hdrline.c
icommands.c
imap/imap.c
imap/imap_private.h
index.c
maildir/shared.c
menu.c
mutt.h
mutt/charset.c
mutt/file.c
muttlib.c
ncrypt/crypt_gpgme.c
ncrypt/pgp.c
ncrypt/pgpinvoke.c
nntp/nntp.c
pattern.c
sendlib.c
sort.c
state.c
status.c
system.c
test/acutest.h

index 6470d63f1fdb7d83b3fdf6a4a6379fa4cdad8821..24e6b044b10dc48a669f621ac0465928873f14b6 100644 (file)
   - Update Portuguese (BR) translation (100%)
   - Update Spanish translation (64%)
   - Update Turkish translation (75%)
-  - Merge simliar messages
+  - Merge similar messages
 * Docs
   - Clarify precedence of settings in config files
   - Fix subjectrx example in the manual
 * Docs
   - Remove feature muttrc files
   - Merge README.notmuch into manual
-  - Remove unneded scripts
+  - Remove unneeded scripts
   - Remove README.SECURITY
   - Remove BEWARE and devel-notes.txt
   - Update Makefiles
index a4480fd3b876d082fd318d4502ec6c0493816e36..8038b27f4d8e215a18cfad464760094a0e2f54d3 100755 (executable)
@@ -1308,7 +1308,7 @@ set modsource(formatting.tcl) {
 
 # Module which provides common text formatting
 
-# This is designed for documenation which looks like:
+# This is designed for documentation which looks like:
 # code {...}
 # or
 # code {
@@ -1699,7 +1699,7 @@ set modsource(install.tcl) {
 # Module which can install autosetup
 
 # autosetup(installed)=1 means that autosetup is not running from source
-# autosetup(sysinstall)=1 means that autosetup is running from a sysinstall verion
+# autosetup(sysinstall)=1 means that autosetup is running from a sysinstall version
 # shared=1 means that we are trying to do a sysinstall. This is only possible from the development source.
 
 proc autosetup_install {dir {shared 0}} {
index 7b24858a282196de12d926c7940c09ab2376ab9d..c4d064466a0645c63682cb5e233cf8c3779e802c 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -647,7 +647,7 @@ static void add_folder(struct Menu *menu, struct BrowserState *state,
 }
 
 /**
- * init_state - Initilise a browser state
+ * init_state - Initialise a browser state
  * @param state BrowserState to initialise
  * @param menu  Current menu
  */
index 9e34648210680d7f093403b313874d5acea03f7a..7ed22569b14561f65430e33acb9966f6a6a71b3e 100644 (file)
@@ -187,7 +187,7 @@ struct ConfigSetType
  * struct ConfigSet - Container for lots of config items
  *
  * The config items are stored in a HashTable so that their names can be looked
- * up efficiently.  Each config item is repesented by a HashElem.  Once
+ * up efficiently.  Each config item is represented by a HashElem.  Once
  * created, this HashElem is static and may be used for the lifetime of the
  * ConfigSet.
  */
index 2cd0034efd06fada7ff768ef68304a25841c7606..9300a0e5ac19b397ec4b2dd0ec808035b57d9c4d 100644 (file)
@@ -568,7 +568,7 @@ static bool hostname_match(const char *hostname, const char *certname)
  * Even though only OpenSSL 0.9.5 and later will complain about the lack of
  * entropy, we try to our best and fill the pool with older versions also.
  * (That's the reason for the ugly ifdefs and macros, otherwise I could have
- * simply ifdef'd the whole ssl_init funcion)
+ * simply ifdef'd the whole ssl_init function)
  */
 static int ssl_init(void)
 {
@@ -634,7 +634,7 @@ static void ssl_get_client_cert(struct SslSockData *ssldata, struct Connection *
 }
 
 /**
- * ssl_socket_close_and_restore - Close an SSL Connection and restore Connnection callbacks - Implements Connection::conn_close()
+ * ssl_socket_close_and_restore - Close an SSL Connection and restore Connection callbacks - Implements Connection::conn_close()
  */
 static int ssl_socket_close_and_restore(struct Connection *conn)
 {
index a2579e92fa1952d329293e4f687c00ab505bd5f0..a7fa21d2f18690c9c5c1d456c39f1b3535b5f765 100644 (file)
@@ -35,7 +35,7 @@ set edit_headers              # let me edit the message header when composing
 #set fast_reply                        # skip initial prompts when replying
 #set fcc_attach                        # keep attachments in copies of sent messages?
 #set force_name                        # fcc by recipient, create if mailbox doesn't exist
-#set forward_decode            # weed and MIME decode forwaded messages
+#set forward_decode            # weed and MIME decode forwarded messages
 #set forward_format="[%a: %s]" # subject to use when forwarding messages
 #set forward_quote             # quote the header and body of forward msgs
 #set index_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s"
index cf986cefd599d5472c83dd8c3179112399ac517d..08e5cde714a3f1c4e41aec1eb3d5bc62ea82f63d 100755 (executable)
@@ -614,7 +614,7 @@ sub openssl_dump_cert ($) {
   my $format = openssl_format($filename);
   my @args = ("x509", "-in", $filename, "-inform", $format);
   my $output = join("", openssl_exec(@args));
-  $? and die "openssl x509 certicate dump returned $?";
+  $? and die "openssl x509 certificate dump returned $?";
 
   return $output;
 }
index 4ac9770a43b36d1d5c1c4a6bf49ab2ff8ad3dee4..d4eb70933d7324241229159bc459e9bdbc98801a 100644 (file)
@@ -49,7 +49,7 @@
 
 /* These Config Variables are only used in mutt/idna.c */
 #ifdef HAVE_LIBIDN
-bool IdnDecode; ///< Config: (idn) Decode internation domain names
+bool IdnDecode; ///< Config: (idn) Decode international domain names
 bool IdnEncode; ///< Config: (idn) Encode international domain names
 #endif
 
index 8b4a6ae4137835ef9988b895cf2bf81bb3e0b90f..45cc4c976d425256b1a9cdce79c68b0eb8f5fc6b 100644 (file)
@@ -186,7 +186,7 @@ static char *parse_encoded_word(char *str, enum ContentEncoding *enc, char **cha
  * @retval  0 Success, string converted
  * @retval >0 Error, number of bytes that could be converted
  *
- * If the data could be conveted using encoder, then set *encoder and *wlen.
+ * If the data could be converted using encoder, then set *encoder and *wlen.
  * Otherwise return an upper bound on the maximum length of the data which
  * could be converted.
  *
index 308c8c5422f16b031fc933ec4cda0460f520caf4..4bd19cfa9a06d9916bfb05c45e5d0eb726aa2e34 100644 (file)
@@ -139,7 +139,7 @@ static struct Rfc2231Parameter *new_parameter(void)
 /**
  * list_insert - Insert parameter into an ordered list
  * @param list List to insert into
- * @param par  Paramter to insert
+ * @param par  Parameter to insert
  *
  * Primary sorting key: attribute
  * Secondary sorting key: index
index df1791e27978fa6255d09ccf751c306245857f79..01f9b42a08a556adfca4ad1d76735a47a1ea2344 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -67,7 +67,7 @@ WHERE struct ListHead MailToAllow INITVAL(STAILQ_HEAD_INITIALIZER(MailToAllow));
 WHERE struct ListHead MimeLookupList INITVAL(STAILQ_HEAD_INITIALIZER(MimeLookupList));             ///< List of mime types that that shouldn't use the mailcap entry
 WHERE struct ListHead Muttrc INITVAL(STAILQ_HEAD_INITIALIZER(Muttrc));                             ///< List of config files to read
 #ifdef USE_SIDEBAR
-WHERE struct ListHead SidebarWhitelist INITVAL(STAILQ_HEAD_INITIALIZER(SidebarWhitelist));         ///< List of mailboxes to alway display in the sidebar
+WHERE struct ListHead SidebarWhitelist INITVAL(STAILQ_HEAD_INITIALIZER(SidebarWhitelist));         ///< List of mailboxes to always display in the sidebar
 #endif
 WHERE struct ListHead TempAttachmentsList INITVAL(STAILQ_HEAD_INITIALIZER(TempAttachmentsList));   ///< List of temporary files for displaying attachments
 WHERE struct ListHead UserHeader INITVAL(STAILQ_HEAD_INITIALIZER(UserHeader));                     ///< List of custom headers to add to outgoing emails
index bc3c86383e4a076c03cbc85f733e18f11780163c..4b5f2dbcf953d422d3e59ca7fad81ed7778b4efe 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -427,7 +427,7 @@ static void decode_uuencoded(struct State *s, long len, bool istext, iconv_t cd)
  * Test if the `MM_NOASK` environment variable should allow autoviewing of the
  * attachment.
  *
- * @note If `MM_NOASK=1` then the function will automaticaly return true.
+ * @note If `MM_NOASK=1` then the function will automatically return true.
  */
 static bool is_mmnoask(const char *buf)
 {
index bae0e443c78cee7a97f49027b7743aa40bdac47e..270550e7695855bfa1df81565c902f4ff48ab402 100644 (file)
@@ -113,7 +113,7 @@ void mutt_hcache_close(header_cache_t *hc);
  * @param hc     Pointer to the header_cache_t structure got by mutt_hcache_open
  * @param key    Message identification string
  * @param keylen Length of the string pointed to by key
- * @retval ptr  Succees, data if found and valid
+ * @retval ptr  Success, data if found and valid
  * @retval NULL Otherwise
  *
  * @note This function performs a check on the validity of the data found by
index 5676e230db8bda8135dbe6042d51e1f81b04388a..e3bef9bdcb636c68dc7107ad2ddaee2eff3864f8 100644 (file)
@@ -579,7 +579,7 @@ void serial_restore_envelope(struct Envelope *env, const unsigned char *d, int *
  * @param uidvalidity IMAP server identifier
  * @retval ptr Binary blob representing the Header
  *
- * This function transforms a e into a char so that it is useable by
+ * This function transforms a e into a char so that it is usable by
  * db_store.
  */
 void *mutt_hcache_dump(header_cache_t *hc, const struct Email *e, int *off, unsigned int uidvalidity)
index 437069d56ca1824a68d8ed736ba0722a791a14b3..1131e2c11eec32306e87b6b3976a933fc993e144 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -119,7 +119,7 @@ bool mutt_is_subscribed_list(struct Address *addr)
 
 /**
  * check_for_mailing_list - Search list of addresses for a mailing list
- * @param addr    List of addreses to search
+ * @param addr    List of addresses to search
  * @param pfx     Prefix string
  * @param buf     Buffer to store results
  * @param buflen  Buffer length
index b98cfb558d912548b084f57cb06994f28217d2b8..3f688942bc68cbc4cd47bf326d63c5d414238fc6 100644 (file)
@@ -40,7 +40,7 @@ static enum CommandResult icmd_version(struct  Buffer *, struct Buffer *, unsign
 /**
  * ICommandList - All available informational commands
  *
- * @note These commands take precendence over conventional mutt rc-lines
+ * @note These commands take precedence over conventional mutt rc-lines
  */
 const struct ICommand ICommandList[] = {
   { "set",      icmd_set,      0 },
index 82943348128e87ff6dd834321edcf6a4ffb0737f..b752b97951f3b2dd51ebdadb2a3958f94b7261d1 100644 (file)
@@ -1707,7 +1707,7 @@ int imap_sync_mailbox(struct Mailbox *m, bool expunge, bool close)
       /* TODO: why the e->env check? */
       if ((e->env && e->env->changed) || e->attach_del)
       {
-        /* L10N: The plural is choosen by the last %d, i.e. the total number */
+        /* L10N: The plural is chosen by the last %d, i.e. the total number */
         mutt_message(ngettext("Saving changed message... [%d/%d]",
                               "Saving changed messages... [%d/%d]", m->msg_count),
                      i + 1, m->msg_count);
index b511fadcb07524a1b1cc99788f015e50b24b6b42..0b7f0a34d62b4d2270632c50efbe91d0b68ecab2 100644 (file)
@@ -171,7 +171,7 @@ struct ImapAccountData
   struct Connection *conn;
   struct ConnAccount conn_account;
   bool recovering;
-  bool closing; /* If true, we are wating for CLOSE completion */
+  bool closing; /* If true, we are waiting for CLOSE completion */
   unsigned char state;  ///< ImapState, e.g. #IMAP_AUTHENTICATED
   unsigned char status; ///< ImapFlags, e.g. #IMAP_FATAL
   /* let me explain capstr: SASL needs the capability string (not bits).
diff --git a/index.c b/index.c
index a9bb093b53104b648476c6690028f69947a97c74..b9e1a0907e1543ef643b5701bc6674330c1b8452 100644 (file)
--- a/index.c
+++ b/index.c
@@ -296,7 +296,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) ||
index 7cc7a0888e01a34483c375443e4b57a9ec678ff0..bb288a42a1958cd89011ac7870fa986bc7adffdd 100644 (file)
@@ -1361,7 +1361,7 @@ void maildir_parse_flags(struct Email *e, const char *path)
 /**
  * maildir_parse_stream - Parse a Maildir message
  * @param magic  Mailbox type, e.g. #MUTT_MAILDIR
- * @param f      Mesage file handle
+ * @param f      Message file handle
  * @param fname  Message filename
  * @param is_old true, if the email is old (read)
  * @param e      Email
diff --git a/menu.c b/menu.c
index bd2ae89a0e9ca88982dbadc9bf78710aece0cfa8..3e5430e587152b87018a9702c1fb36832c6b621c 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -1241,7 +1241,7 @@ static int menu_dialog_translate_op(int i)
  * menu_dialog_dokey - Check if there are any menu key events to process
  * @param menu Current Menu
  * @param ip   Event ID
- * @retval  0 An event occured for the menu, or a timeout
+ * @retval  0 An event occurred for the menu, or a timeout
  * @retval -1 There was an event, but not for menu
  */
 static int menu_dialog_dokey(struct Menu *menu, int *ip)
diff --git a/mutt.h b/mutt.h
index fcce7a5c4389d3aafa163e7147c1d5725280792b..826108899e0a6b1790fe35cfde2171d7cf9db0cb 100644 (file)
--- a/mutt.h
+++ b/mutt.h
@@ -124,7 +124,7 @@ enum MuttMisc
   MUTT_TAG,        ///< Tagged messages
   MUTT_UNTAG,      ///< Messages to be un-tagged
   MUTT_LIMIT,      ///< Messages in limited view
-  MUTT_EXPIRED,    ///< Expired messsages
+  MUTT_EXPIRED,    ///< Expired messages
   MUTT_SUPERSEDED, ///< Superseded messages
   MUTT_TRASH,      ///< Trashed messages
 
index 11e3ddbb0116ed9a27abae23c9aae480557fdc9d..a25e3c9605f20eec13c225644f28133de964ab3d 100644 (file)
@@ -947,7 +947,7 @@ char *mutt_ch_fgetconvs(char *buf, size_t buflen, struct FgetConv *fc)
  * mutt_ch_set_charset - Update the records for a new character set
  * @param charset New character set
  *
- * Check if this chararacter set is utf-8 and pick a suitable replacement
+ * Check if this character set is utf-8 and pick a suitable replacement
  * character for unprintable characters.
  *
  * @note This calls `bind_textdomain_codeset()` which will affect future
index 0199f5d5ede9d9a846f4389a5dc45519cfde45b6..7e2060469d203f2d44b24d3db5d67ff9bc366034 100644 (file)
@@ -692,7 +692,7 @@ char *mutt_file_read_line(char *line, size_t *size, FILE *fp, int *line_num, int
  * @param iter  State of iteration including ptr to line
  * @param fp    File pointer to read from
  * @param flags Same as mutt_file_read_line()
- * @retval      true iff data read, false on eof
+ * @retval      true if data read, false on eof
  *
  * This is a slightly cleaner interface for mutt_file_read_line() which avoids
  * the eternal C loop initialization ugliness.  Use like this:
@@ -720,7 +720,7 @@ bool mutt_file_iter_line(struct MuttFileIter *iter, FILE *fp, int flags)
  * @param user_data Arbitrary data passed to "func"
  * @param fp        File pointer to read from
  * @param flags     Same as mutt_file_read_line()
- * @retval          true iff all data mapped, false if "func" returns false
+ * @retval          true if all data mapped, false if "func" returns false
  */
 bool mutt_file_map_lines(mutt_file_map_t func, void *user_data, FILE *fp, int flags)
 {
index 05b1e3c497ccac66b6ea81c0e0d3d2ba3a7e03ad..81d33317cd1c3b0091e9dd6a5b9623ea7950461b 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -766,7 +766,7 @@ int mutt_check_overwrite(const char *attname, const char *path, char *fname,
  * @param buflen Length of buffer
  * @param addr   Email address to use
  *
- * If the user hasn't set `$save_address` the name will be trucated to the '@'
+ * If the user hasn't set `$save_address` the name will be truncated to the '@'
  * character.
  */
 void mutt_save_path(char *buf, size_t buflen, struct Address *addr)
index da4ac20dfc80d05226e4cb8caaa174b419ec6154..d539ee004a30b46e6c8955c5de9f772900a624a2 100644 (file)
@@ -240,7 +240,7 @@ static const char *parse_version_number(const char *s, int *number)
 }
 
 /* This function breaks up the complete string-representation of the
- * version number S, which is of the following struture: <major
+ * version number S, which is of the following structure: <major
  * number>.<minor number>.<micro number><patch level>.  The major,
  * minor and micro number components will be stored in *MAJOR, *MINOR
  * and *MICRO.  If MINOR or MICRO is NULL the version number is
index f3423ad34e7c63a6b23bfe523c14b08fd2087d02..8ec8f0c732d3661a752902adb72d5b5902854873 100644 (file)
@@ -334,7 +334,7 @@ static int pgp_check_pgp_decryption_okay_regex(FILE *fpin)
  * @retval  1 - no patterns were matched (if delegated to decryption_okay_regex)
  * @retval  0 - DECRYPTION_OKAY was seen, with no PLAINTEXT outside
  * @retval -1 - No decryption status codes were encountered
- * @retval -2 - PLAINTEXT was encountered outside of DECRYPTION delimeters
+ * @retval -2 - PLAINTEXT was encountered outside of DECRYPTION delimiters
  * @retval -3 - DECRYPTION_FAILED was encountered
  *
  * Checks GnuPGP status fd output for various status codes indicating
index c3223a4bfa494878eb21561d39b6e4b7db777a80..1901ef6b1a169195be06e38876b5d2d2eb508c3c 100644 (file)
@@ -52,7 +52,7 @@
 #endif
 
 /* These Config Variables are only used in ncrypt/pgpinvoke.c */
-char *PgpClearsignCommand; ///< Config: (pgp) External command to inline-sign a messsage
+char *PgpClearsignCommand; ///< Config: (pgp) External command to inline-sign a message
 char *PgpDecodeCommand; ///< Config: (pgp) External command to decode a PGP attachment
 char *PgpDecryptCommand; ///< Config: (pgp) External command to decrypt a PGP message
 char *PgpEncryptOnlyCommand; ///< Config: (pgp) External command to encrypt, but not sign a message
index 0f8597da128f3012df1f39f699d1a7f1851133ef..b9e0e5d70116feaded84a4bf5074104c72016854 100644 (file)
@@ -837,7 +837,7 @@ static int nntp_query(struct NntpMboxData *mdata, char *line, size_t linelen)
  * @param mdata NNTP Mailbox data
  * @param query     Query to match
  * @param qlen      Length of query
- * @param msg       Progess message (OPTIONAL)
+ * @param msg       Progress message (OPTIONAL)
  * @param func      Callback function
  * @param data      Data for callback function
  * @retval  0 Success
index 24c57a2a55357171367c26459bb4f36a8074da6f..7eb6542e02356ab3edd66eee888d3a76dd490341 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -192,7 +192,7 @@ static char LastSearchExpn[LONG_STRING] = { 0 }; /**< expanded version of LastSe
  * @param pat  Pattern to match
  * @param s   String to parse
  * @param err Buffer for error messages
- * @retval true If the pattern was read succesfully
+ * @retval true If the pattern was read successfully
  */
 static bool eat_regex(struct Pattern *pat, struct Buffer *s, struct Buffer *err)
 {
@@ -566,7 +566,7 @@ static void adjust_date_range(struct tm *min, struct tm *max)
  * @param pat Pattern to store the date in
  * @param s   String to parse
  * @param err Buffer for error messages
- * @retval true If the pattern was read succesfully
+ * @retval true If the pattern was read successfully
  */
 static bool eat_date(struct Pattern *pat, struct Buffer *s, struct Buffer *err)
 {
@@ -725,7 +725,7 @@ static bool eat_date(struct Pattern *pat, struct Buffer *s, struct Buffer *err)
  * @param pat Pattern to store the range in
  * @param s   String to parse
  * @param err Buffer for error messages
- * @retval true If the pattern was read succesfully
+ * @retval true If the pattern was read successfully
  */
 static bool eat_range(struct Pattern *pat, struct Buffer *s, struct Buffer *err)
 {
@@ -849,7 +849,7 @@ static bool is_context_available(struct Buffer *s, regmatch_t pmatch[],
   };
 
   /* First decide if we're going to need the context at all.
-   * Relative patterns need it iff they contain a dot or a number.
+   * Relative patterns need it if they contain a dot or a number.
    * Absolute patterns only need it if they contain a dot. */
   char *context_loc = strpbrk(s->dptr + pmatch[0].rm_so, context_req_chars[kind]);
   if (!context_loc || (context_loc >= &s->dptr[pmatch[0].rm_eo]))
@@ -1014,7 +1014,7 @@ static int eat_range_by_regex(struct Pattern *pat, struct Buffer *s, int kind,
  * @param pat Pattern to store the range in
  * @param s   String to parse
  * @param err Buffer for error messages
- * @retval true If the pattern was read succesfully
+ * @retval true If the pattern was read successfully
  */
 static bool eat_message_range(struct Pattern *pat, struct Buffer *s, struct Buffer *err)
 {
index 94919b1fba3c4850f9976578d1f5a8dbeeca58b7..dfb36e929be15898db97a044df2931d0f8e2c787 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -3117,7 +3117,7 @@ int mutt_write_multiple_fcc(const char *path, struct Email *e, const char *msgid
     if (!*tok)
       continue;
 
-    /* Only call mutt_expand_path iff tok has some data */
+    /* Only call mutt_expand_path if tok has some data */
     mutt_debug(1, "Fcc: additional mailbox token = '%s'\n", tok);
     mutt_str_strfcpy(fcc_expanded, tok, sizeof(fcc_expanded));
     mutt_expand_path(fcc_expanded, sizeof(fcc_expanded));
diff --git a/sort.c b/sort.c
index 6bc54b16386f6b1ae8689b9b8be6b37f9ac54451..bf5532dd80089bb6b6a220f4bdad171f4a300e69 100644 (file)
--- a/sort.c
+++ b/sort.c
@@ -53,7 +53,7 @@ bool ReverseAlias; ///< Config: Display the alias in the index, rather than the
 static sort_t *AuxSort = NULL;
 
 /**
- * perform_auxsort - Compare two emails using the auxilliary sort method
+ * perform_auxsort - Compare two emails using the auxiliary sort method
  * @param retval Result of normal sort method
  * @param a      First email
  * @param b      Second email
diff --git a/state.c b/state.c
index 29c4c0f75d217b977d0ac1367e6839b52512400c..51d4fdf20f1642dd56db6968914c61b264dcc820 100644 (file)
--- a/state.c
+++ b/state.c
@@ -159,7 +159,7 @@ int state_printf(struct State *s, const char *fmt, ...)
 /**
  * state_prefix_put - Write a prefixed fixed-string to the State
  * @param buf    String to write
- * @param buflen Lenth of string
+ * @param buflen Length of string
  * @param s    State to write to
  */
 void state_prefix_put(const char *buf, size_t buflen, struct State *s)
index 51db286175dece4898da0c953c54e1a3c7e54b28..f719a49401a45bac0362980ccab2b77f89f1be91 100644 (file)
--- a/status.c
+++ b/status.c
@@ -47,7 +47,7 @@ struct MbTable *StatusChars; ///< Config: Indicator characters for the status ba
 /**
  * get_sort_str - Get the sort method as a string
  * @param buf    Buffer for the sort string
- * @param buflen Length of the bufer
+ * @param buflen Length of the buffer
  * @param method Sort method, e.g. #SORT_DATE
  * @retval ptr Buffer pointer
  */
index adada62616c66b0a943a456330626348967fca25..825b1c56ef9081cc6046499c163a4c6e1654ac15 100644 (file)
--- a/system.c
+++ b/system.c
@@ -39,7 +39,7 @@
 
 /**
  * mutt_system - Run an external command
- * @param cmd Command and argments
+ * @param cmd Command and arguments
  * @retval -1  Error
  * @retval >=0 Success (command's return code)
  *
index b852186ce75d38383b8de64b243bd116d1d12287..53a4519b8c035852f13d185ea735469a5a9df6da 100644 (file)
@@ -897,9 +897,9 @@ test_cmdline_read__(const TEST_CMDLINE_OPTION__* options, int argc, char** argv,
 
                     if(strncmp(badoptname, "--", 2) == 0) {
                         /* Strip any argument from the long option. */
-                        char* assignement = strchr(badoptname, '=');
-                        if(assignement != NULL) {
-                            size_t len = assignement - badoptname;
+                        char* assignment = strchr(badoptname, '=');
+                        if(assignment != NULL) {
+                            size_t len = assignment - badoptname;
                             if(len > TEST_CMDLINE_AUXBUF_SIZE__)
                                 len = TEST_CMDLINE_AUXBUF_SIZE__;
                             strncpy(auxbuf, badoptname, len);