From b77a9e5601a56ace158cf779b948a05a06e56fee Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Wed, 4 Sep 2019 17:50:30 +0100 Subject: [PATCH] fix spelling, whitespace --- README.md | 2 +- autocrypt/autocrypt_acct_menu.c | 2 +- doc/manual.xml.head | 4 ++-- enter.c | 2 +- mutt/date.c | 2 +- mutt_header.c | 2 +- ncrypt/crypt_gpgme.c | 4 ++-- test/acutest.h | 12 ++++++------ 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index ab448b880..1e106c552 100644 --- 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") diff --git a/autocrypt/autocrypt_acct_menu.c b/autocrypt/autocrypt_acct_menu.c index cb3ba2655..c25cd9478 100644 --- a/autocrypt/autocrypt_acct_menu.c +++ b/autocrypt/autocrypt_acct_menu.c @@ -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]; diff --git a/doc/manual.xml.head b/doc/manual.xml.head index 11e5a3a5d..8ccee0b0c 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -7040,7 +7040,7 @@ set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?)%* %s" 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. @@ -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 https://autocrypt.org/. diff --git a/enter.c b/enter.c index b4d02f31f..45ad2929c 100644 --- 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 diff --git a/mutt/date.c b/mutt/date.c index 5684e9afe..ce50c873f 100644 --- a/mutt/date.c +++ b/mutt/date.c @@ -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 diff --git a/mutt_header.c b/mutt_header.c index a276fb7e3..7ad6dcdad 100644 --- a/mutt_header.c +++ b/mutt_header.c @@ -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 */ diff --git a/ncrypt/crypt_gpgme.c b/ncrypt/crypt_gpgme.c index 4bf238bfa..ced1162c2 100644 --- a/ncrypt/crypt_gpgme.c +++ b/ncrypt/crypt_gpgme.c @@ -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: ..... 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 * diff --git a/test/acutest.h b/test/acutest.h index bbd284ada..448d8fdd6 100644 --- a/test/acutest.h +++ b/test/acutest.h @@ -187,7 +187,7 @@ /* 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); -- 2.40.0