summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Russon <rich@flatcap.org>2023-10-11 20:50:19 +0100
committerRichard Russon <rich@flatcap.org>2023-10-18 14:29:40 +0100
commit8d5fac5a28bb82f3a80ab5f26562646b9209471c (patch)
tree89980ccf4018e2555a6246a7c23545bb106a8346
parentc00f9e0ec6540e1f4c1008e19eefc009814a99c8 (diff)
fix typos
-rw-r--r--color/quoted.c4
-rw-r--r--color/quoted.h2
-rw-r--r--conn/ssl.h2
-rw-r--r--pager/pager.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/color/quoted.c b/color/quoted.c
index 135e28f8d..ce14f6847 100644
--- a/color/quoted.c
+++ b/color/quoted.c
@@ -612,10 +612,10 @@ static void qstyle_recurse(struct QuoteStyle *quote_list, int num_qlevel, int *c
}
/**
- * qstyle_recolour - Recolour quotes after colour changes
+ * qstyle_recolor - Recolour quotes after colour changes
* @param quote_list List of quote colours
*/
-void qstyle_recolour(struct QuoteStyle *quote_list)
+void qstyle_recolor(struct QuoteStyle *quote_list)
{
if (!quote_list)
return;
diff --git a/color/quoted.h b/color/quoted.h
index ccca2c4cb..a166690ee 100644
--- a/color/quoted.h
+++ b/color/quoted.h
@@ -83,6 +83,6 @@ enum CommandResult quoted_colors_parse_uncolor(enum ColorId cid, int q_level, st
struct QuoteStyle *qstyle_classify (struct QuoteStyle **quote_list, const char *qptr, size_t length, bool *force_redraw, int *q_level);
void qstyle_free_tree(struct QuoteStyle **quote_list);
-void qstyle_recolour (struct QuoteStyle *quote_list);
+void qstyle_recolor (struct QuoteStyle *quote_list);
#endif /* MUTT_COLOR_QUOTED_H */
diff --git a/conn/ssl.h b/conn/ssl.h
index b722d527e..d3c8fc82d 100644
--- a/conn/ssl.h
+++ b/conn/ssl.h
@@ -36,7 +36,7 @@ ARRAY_HEAD(CertArray, const char *);
void cert_array_clear(struct CertArray *carr);
/**
- * CertMenuData - Certificate data to use in the Menu
+ * struct CertMenuData - Certificate data to use in the Menu
*/
struct CertMenuData
{
diff --git a/pager/pager.c b/pager/pager.c
index e8e77ebc7..9e738c994 100644
--- a/pager/pager.c
+++ b/pager/pager.c
@@ -254,7 +254,7 @@ static int pager_color_observer(struct NotifyCallback *nc)
if ((ev_c->cid == MT_COLOR_QUOTED) || (ev_c->cid == MT_COLOR_MAX))
{
// rework quoted colours
- qstyle_recolour(priv->quote_list);
+ qstyle_recolor(priv->quote_list);
}
if (ev_c->cid == MT_COLOR_MAX)