Fix typos

This commit is contained in:
Jonas Bernoulli
2020-05-12 23:56:55 +02:00
parent 55cac6f2e5
commit 564d892701
22 changed files with 33 additions and 32 deletions

View File

@ -15,7 +15,7 @@
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# enforce compiling guile (optionally) first,then this dir first
# before decending into tests/
# before descending into tests/
include $(top_srcdir)/gtest.mk
SUBDIRS= utils query

View File

@ -168,7 +168,7 @@ gboolean mu_container_foreach (MuContainer *c,
gpointer user_data);
/**
* check wither container needle is a child or sibling (recursively)
* check whether container needle is a child or sibling (recursively)
* of container haystack
*
* @param haystack a container

View File

@ -35,7 +35,7 @@ struct _MuIndexStats {
unsigned _processed; /* number of msgs processed or counted */
unsigned _updated; /* number of msgs new or updated */
unsigned _cleaned_up; /* number of msgs cleaned up */
unsigned _uptodate; /* number of msgs already uptodate */
unsigned _uptodate; /* number of msgs already up-to-date */
};
typedef struct _MuIndexStats MuIndexStats;
@ -94,7 +94,7 @@ typedef MuError (*MuIndexMsgCallback) (MuIndexStats* stats, void *user_data);
* @param enter did we enter (TRUE) or leave(FALSE) the dir?
* @param user_data pointer to user data
*
* @return MU_OK to contiue, MU_STOP to stopd or MU_ERROR in
* @return MU_OK to continue, MU_STOP to stopd or MU_ERROR in
* case of some error.
*/
typedef MuError (*MuIndexDirCallback) (const char* path, gboolean enter,

View File

@ -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

View File

@ -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)
*/

View File

@ -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);