summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-05-23 06:13:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-05-23 06:13:16 -0700
commit19e36297b54f684becbebe54637c5a0c9bd18cd7 (patch)
treefd8ecce9b9478371ecd56946634f39b76a94eb89 /linenoise
parent473a6e7453e4462c6ad9668d4ec8c4a97a2ccbba (diff)
downloadtxr-19e36297b54f684becbebe54637c5a0c9bd18cd7.tar.gz
txr-19e36297b54f684becbebe54637c5a0c9bd18cd7.tar.bz2
txr-19e36297b54f684becbebe54637c5a0c9bd18cd7.zip
Fix few typos reported from Fossies.
Fossies administrator Jens alerted me to some typos. * txr.1: Fix two instances of alphanumeric being hyphenated, and one case of invocable being rendered as invokable. * linenoise/linenoise.c (struct lino_state): Misspelled "buffer" in a comment. One other comment typos in this file is from the original code, so it stays: who needs yet another merge conflict? Not touching the original typo in example.c, either.
Diffstat (limited to 'linenoise')
-rw-r--r--linenoise/linenoise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c
index 5418aeda..4a624ad9 100644
--- a/linenoise/linenoise.c
+++ b/linenoise/linenoise.c
@@ -115,7 +115,7 @@ struct lino_state {
int save_hist_idx; /* Jump to history position on entry into edit */
/* Volatile state pertaining to just one linenoise call */
- wchar_t buf[LINENOISE_MAX_DISP]; /* Displayed line bufer. */
+ wchar_t buf[LINENOISE_MAX_DISP]; /* Displayed line buffer. */
wchar_t data[LINENOISE_MAX_LINE]; /* True data corresponding to display */
const wchar_t *prompt; /* Prompt to display. */
const char *suffix; /* Suffix when creating temp file. */