]> granicus.if.org Git - neomutt/commitdiff
fix spelling, whitespace
authorRichard Russon <rich@flatcap.org>
Wed, 4 Sep 2019 16:50:30 +0000 (17:50 +0100)
committerRichard Russon <rich@flatcap.org>
Fri, 6 Sep 2019 22:47:20 +0000 (23:47 +0100)
README.md
autocrypt/autocrypt_acct_menu.c
doc/manual.xml.head
enter.c
mutt/date.c
mutt_header.c
ncrypt/crypt_gpgme.c
test/acutest.h

index ab448b8802ae9fa6d66239eaae26caf5a62b0f96..1e106c5525ffee562a8ed4e714a54e52e783d05e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
 
 [![Stars](https://img.shields.io/github/stars/neomutt/neomutt.svg?style=social&label=Stars)](https://github.com/neomutt/neomutt "Give us a Star")
 [![Twitter](https://img.shields.io/twitter/follow/NeoMutt_Org.svg?style=social&label=Follow)](https://twitter.com/NeoMutt_Org "Follow us on Twitter")
-[![Contributors](https://img.shields.io/badge/Contributors-157-orange.svg)](#contributors "All of NeoMutt's Contributors")
+[![Contributors](https://img.shields.io/badge/Contributors-157-orange.svg)](https://github.com/neomutt/neomutt/blob/master/AUTHORS.md "All of NeoMutt's Contributors")
 [![Release](https://img.shields.io/github/release/neomutt/neomutt.svg)](https://github.com/neomutt/neomutt/releases/latest "Latest Release Notes")
 [![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://github.com/neomutt/neomutt/blob/master/COPYRIGHT.md "Copyright Statement")
 [![Code build](https://img.shields.io/travis/neomutt/neomutt.svg?label=code)](https://travis-ci.org/neomutt/neomutt "Latest Automatic Code Build")
index cb3ba2655df82ab8147cd35b7527a2229fc36031..c25cd9478ed57632e01d56dbebcdd9485c8db186 100644 (file)
@@ -192,7 +192,7 @@ static struct Menu *create_menu(void)
   for (int i = 0; i < num_accounts; i++)
   {
     entries[i].num = i + 1;
-    /* note: we are transfering the account pointer to the entries
+    /* note: we are transferring the account pointer to the entries
      * array, and freeing the accounts array below.  the account
      * will be freed in menu_free().  */
     entries[i].account = accounts[i];
index 11e5a3a5d981eaffaf2686cdc5eaa06015391774..8ccee0b0c42d1b6f090919e31fa1bd77259e6fd8 100644 (file)
@@ -7040,7 +7040,7 @@ set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&amp;%4c?)%*  %s"
 
         <para>
           These variables also affect size display in a few other places, such
-          as progress indicators and attachment delimeters in the pager.
+          as progress indicators and attachment delimiters in the pager.
         </para>
       </sect2>
     </sect1>
@@ -17382,7 +17382,7 @@ bind index D purge-message
         normal encryption via your keyring, using key signing and the web
         of trust to verify identities.  With an understanding of these
         limitations, Autocrypt still provides an easy way to minimize
-        cleartext emails sent between common correspondants, without
+        cleartext emails sent between common correspondents, without
         having to explicitly exchange keys.  More information can be found
         at <ulink url="https://autocrypt.org/">https://autocrypt.org/</ulink>.
       </para>
diff --git a/enter.c b/enter.c
index b4d02f31fc90ce6cf2b098841a91f52d4e22ee68..45ad2929c9402f2cabea74775108300c85c7bec5 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -304,7 +304,7 @@ int mutt_enter_string_full(char *buf, size_t buflen, int col,
         case OP_EDITOR_BACKSPACE:
           if (state->curpos == 0)
           {
-            // Pressing backspace when no text is in the command prompt shold exit the prompt
+            // Pressing backspace when no text is in the command prompt should exit the prompt
             if (state->lastchar == 0)
               goto bye;
             // Pressing backspace with text in the command prompt should just beep
index 5684e9afeffdf784e3eb2d069476619f1c4360a5..ce50c873f5825807338957abcd9987b66591e3dd 100644 (file)
@@ -755,7 +755,7 @@ struct tm mutt_date_gmtime(time_t t)
 
 /**
  * mutt_date_localtime_format - Format localtime
- * @param buf    Buffer to store formated time
+ * @param buf    Buffer to store formatted time
  * @param buflen Buffer size
  * @param format Format to apply
  * @param t      Time to format
index a276fb7e3cfdea6185b05a5f35c87c8c2db9c223..7ad6dcdadfbfd0ddfc460f033d0490b870ca49f1 100644 (file)
@@ -376,7 +376,7 @@ void mutt_label_hash_add(struct Mailbox *m, struct Email *e)
 }
 
 /**
- * mutt_label_hash_remove - Rmove a message's labels from the Hash Table
+ * mutt_label_hash_remove - Remove a message's labels from the Hash Table
  * @param m Mailbox
  * @param e Email
  */
index 4bf238bfa91079fee72cf9f0c99271dd88285ac3..ced1162c2eff83a481d007b45e7939a1e7b5abf5 100644 (file)
@@ -318,7 +318,7 @@ static const char *parse_version_number(const char *s, int *number)
  * @retval NULL If there are fewer parts
  *
  * Break up the complete string-representation of the version number S, which
- * is of the following struture: <major number>.<minor number>.<micro
+ * 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 assumed to have just 1 or 2 parts respectively.
@@ -812,7 +812,7 @@ static gpgme_data_t create_gpgme_data(void)
 
 #if GPGME_VERSION_NUMBER >= 0x010900 /* gpgme >= 1.9.0 */
 /**
- * have_gpg_version - Do we have a sufficent GPG version
+ * have_gpg_version - Do we have a sufficient GPG version
  * @param version Minimum version
  * @retval true If minimum version is available
  *
index bbd284ada234df454443a061d5dbc8de074fcd13..448d8fdd6b9996fc6a7dbe69bed580236462ed41 100644 (file)
 
 /* Macro for dumping a block of memory.
  *
- * Its inteded use is very similar to what TEST_MSG is for, but instead of
+ * Its intended use is very similar to what TEST_MSG is for, but instead of
  * generating any printf-like message, this is for dumping raw block of a
  * memory in a hexadecimal form:
  *
@@ -352,7 +352,7 @@ static int test_timer__ = 0;
     {
         if(test_timer__ == 1)
     #ifdef CLOCK_MONOTONIC_RAW
-            /* linux specific; not subject of NTP adjustements or adjtime() */
+            /* linux specific; not subject of NTP adjustments or adjtime() */
             test_timer_id__ = CLOCK_MONOTONIC_RAW;
     #else
             test_timer_id__ = CLOCK_MONOTONIC;
@@ -380,7 +380,7 @@ static int test_timer__ = 0;
     static void
     test_timer_print_diff__(void)
     {
-        printf("%.6lf secs", 
+        printf("%.6lf secs",
             test_timer_diff__(test_timer_start__, test_timer_end__));
     }
 #else
@@ -1190,9 +1190,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);