summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2023-03-02 23:53:08 +0000
committerRafael Marçalo <raroma09@gmail.com>2023-03-02 23:53:08 +0000
commit827f02479623b9a33f3f3f61ea26f5658be12ee0 (patch)
tree886c50e4adc0323835bc0c395ec1a213e30dbc63 /src
parenta012a0349a491b15541f74af4efd555fc221895f (diff)
Fixed typos
Diffstat (limited to 'src')
-rw-r--r--src/ascii.h2
-rw-r--r--src/autocmd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ascii.h b/src/ascii.h
index 92906c7..c182445 100644
--- a/src/ascii.h
+++ b/src/ascii.h
@@ -76,7 +76,7 @@ static const unsigned char chartable[256] = {
#define CSI 0x80
#define CSI_STR "\x80"
-/* get internal representation for conrol character ^C */
+/* get internal representation for control character ^C */
#define CTRL(c) ((c) ^ 0x40)
#define UNCTRL(c) (((c) ^ 0x40) + 'a' - 'A')
diff --git a/src/autocmd.c b/src/autocmd.c
index 4f4aa5f..2127d8e 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -184,7 +184,7 @@ gboolean autocmd_add(Client *c, char *name, gboolean delete)
/* last word is the pattern - if not found use '*' */
pattern = word ? word : "*";
- /* the rest of the line becoes the ex command to run */
+ /* the rest of the line becomes the ex command to run */
if (parse && !*parse) {
parse = NULL;
}