summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-05-12 23:56:55 +0200
committerJonas Bernoulli <jonas@bernoul.li>2020-05-12 23:56:55 +0200
commit564d89270173e4dec1a078d660ad722950e6752e (patch)
treecb0ad36d0ebe99c99cb7646440b97c85eece7ba7 /lib/utils
parent55cac6f2e54b6b620f6c1e6dcf0056fe8ad7c888 (diff)
Fix typos
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/mu-command-parser.hh7
-rw-r--r--lib/utils/mu-util.h2
-rw-r--r--lib/utils/mu-utils.hh2
3 files changed, 6 insertions, 5 deletions
diff --git a/lib/utils/mu-command-parser.hh b/lib/utils/mu-command-parser.hh
index 458e031..58c2f11 100644
--- a/lib/utils/mu-command-parser.hh
+++ b/lib/utils/mu-command-parser.hh
@@ -38,12 +38,13 @@ namespace Command {
/// Commands are s-expressions with the follow properties:
/// 1) a command is a list with a command-name as its first argument
-/// 2) the rest of the parameters are pairs of colon-prefixed symbol and a value of some type
-/// (ie. 'keyword arguments')
+/// 2) the rest of the parameters are pairs of colon-prefixed symbol and a value of some
+/// type (ie. 'keyword arguments')
/// 3) each command is described by its CommandInfo structure, which defines the type
/// 4) calls to the command must include all required parameters
/// 5) all parameters must be of the specified type; however the symbol 'nil' is allowed
-/// for specify a non-required parameter to be absent; this is for convience on the call side.
+/// for specify a non-required parameter to be absent; this is for convenience on the
+/// call side.
/// Information about a function argument
diff --git a/lib/utils/mu-util.h b/lib/utils/mu-util.h
index 0b07b8a..72be341 100644
--- a/lib/utils/mu-util.h
+++ b/lib/utils/mu-util.h
@@ -51,7 +51,7 @@ char* mu_util_dir_expand (const char* path)
/**
* guess the maildir; first try $MAILDIR; if it is unset or
- * non-existant, try ~/Maildir if both fail, return NULL
+ * non-existent, try ~/Maildir if both fail, return NULL
*
* @return full path of the guessed Maildir, or NULL; must be freed (gfree)
*/
diff --git a/lib/utils/mu-utils.hh b/lib/utils/mu-utils.hh
index afb8755..0c35170 100644
--- a/lib/utils/mu-utils.hh
+++ b/lib/utils/mu-utils.hh
@@ -103,7 +103,7 @@ std::string format (const char *frm, va_list args) __attribute__((format(printf,
* @param first whether to fill out incomplete dates to the start or the end;
* ie. either 1972 -> 197201010000 or 1972 -> 197212312359
*
- * @return the corresponding time_t expressed as a strng
+ * @return the corresponding time_t expressed as a string
*/
std::string date_to_time_t_string (const std::string& date, bool first);