summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r--src/libsystemd-terminal/term-page.c4
-rw-r--r--src/libsystemd-terminal/term-screen.c4
-rw-r--r--src/libsystemd-terminal/test-term-page.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libsystemd-terminal/term-page.c b/src/libsystemd-terminal/term-page.c
index 7ae90e2cda..ae73cdf627 100644
--- a/src/libsystemd-terminal/term-page.c
+++ b/src/libsystemd-terminal/term-page.c
@@ -42,7 +42,7 @@
* support Unicode combining-characters, therefore this gets more complicated.
* Characters themselves are represented by a "term_char_t" object. It
* should be treated as a normal integer and passed by value. The
- * sorrounding struct is just to hide the internals. A term-char can contain a
+ * surrounding struct is just to hide the internals. A term-char can contain a
* base character together with up to 2 combining-chars in a single integer.
* Only if you need more combining-chars (very unlikely!) a term-char is a
* pointer to an allocated storage. This requires you to always free term-char
@@ -1012,7 +1012,7 @@ void term_line_append_combchar(term_line *line, unsigned int pos_x, uint32_t ucs
* @age: current age for all modifications
* @keep_protected: true if protected cells should be kept
*
- * This is the standard erase operation. It clears all cells in the targetted
+ * This is the standard erase operation. It clears all cells in the targeted
* area and re-initializes them. Cells to the right are not shifted left, you
* must use DELETE to achieve that. Cells outside the visible area are skipped.
*
diff --git a/src/libsystemd-terminal/term-screen.c b/src/libsystemd-terminal/term-screen.c
index a19c684d2a..67f9056d57 100644
--- a/src/libsystemd-terminal/term-screen.c
+++ b/src/libsystemd-terminal/term-screen.c
@@ -455,7 +455,7 @@ static uint32_t screen_map(term_screen *screen, uint32_t val) {
/*
* Command Handlers
- * This is the inofficial documentation of all the TERM_CMD_* definitions. Each
+ * This is the unofficial documentation of all the TERM_CMD_* definitions. Each
* handled command has a separate function with an extensive comment on the
* semantics of the command.
* Note that many semantics are unknown and need to be verified. This is mostly
@@ -1040,7 +1040,7 @@ static int screen_DECELR(term_screen *screen, const term_seq *seq) {
/*
* DECELR - enable-locator-reporting
* This changes the locator-reporting mode. @args[0] specifies the mode
- * to set, 0 disables locator-reporting, 1 enables it continously, 2
+ * to set, 0 disables locator-reporting, 1 enables it continuously, 2
* enables it for a single report. @args[1] specifies the
* precision-mode. 0 and 2 set the reporting to cell-precision, 1 sets
* pixel-precision.
diff --git a/src/libsystemd-terminal/test-term-page.c b/src/libsystemd-terminal/test-term-page.c
index bba83ee405..9e338776e8 100644
--- a/src/libsystemd-terminal/test-term-page.c
+++ b/src/libsystemd-terminal/test-term-page.c
@@ -263,7 +263,7 @@ static void test_term_char_allocating(void) {
* in the range 'A'-'Z', 'a'-'z'. All those are combined and used as term_char_t
* on this cell. Any numbers in the description are combined and are used as
* cell-age.
- * The occurance of a '*'-symbol marks the cell as bold, '/' marks it as italic.
+ * The occurrence of a '*'-symbol marks the cell as bold, '/' marks it as italic.
* You can use those characters multiple times, but only the first one has an
* effect.
* For further symbols, see parse_attr().