From 110260830d49b1872c29af3e3fc16bdba15f7376 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 14 Jan 2019 22:40:34 +0000 Subject: docs: fix typos [codespell] Reference: https://github.com/codespell-project/codespell Signed-off-by: Sami Kerola --- libsmartcols/src/grouping.c | 4 ++-- libsmartcols/src/print.c | 2 +- libsmartcols/src/smartcolsP.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libsmartcols') diff --git a/libsmartcols/src/grouping.c b/libsmartcols/src/grouping.c index c5fb2cb9f..add4b748a 100644 --- a/libsmartcols/src/grouping.c +++ b/libsmartcols/src/grouping.c @@ -127,7 +127,7 @@ void scols_groups_fix_members_order(struct libscols_table *tb) groups_fix_members_order(ln); } - /* If group child is memeber of another group * + /* If group child is member of another group * scols_reset_iter(&itr, SCOLS_ITER_FORWARD); while (scols_table_next_group(tb, &itr, &gr) == 0) { struct libscols_iter xitr; @@ -224,7 +224,7 @@ static int group_state_for_line(struct libscols_group *gr, struct libscols_line */ static void grpset_apply_group_state(struct libscols_group **xx, int state, struct libscols_group *gr) { - DBG(GROUP, ul_debugobj(gr, " appling state to grpset")); + DBG(GROUP, ul_debugobj(gr, " applying state to grpset")); /* gr->state holds the old state, @state is the new state */ diff --git a/libsmartcols/src/print.c b/libsmartcols/src/print.c index 4a45b41fb..251b211c7 100644 --- a/libsmartcols/src/print.c +++ b/libsmartcols/src/print.c @@ -991,7 +991,7 @@ int __scols_initialize_printing(struct libscols_table *tb, struct libscols_buffe break; case SCOLS_FMT_JSON: if (tb->format == SCOLS_FMT_JSON) - extra_bufsz += tb->nlines * 3; /* indention */ + extra_bufsz += tb->nlines * 3; /* indentation */ /* fallthrough */ case SCOLS_FMT_EXPORT: { diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index 2bc62800d..5af5b096e 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -213,7 +213,7 @@ struct libscols_table { struct libscols_symbols *symbols; struct libscols_cell title; /* optional table title (for humans) */ - int indent; /* indention counter */ + int indent; /* indentation counter */ int indent_last_sep;/* last printed has been line separator */ int format; /* SCOLS_FMT_* */ -- cgit v1.2.3-55-g7522