From c8f4d228d0b470237070f145f2e24bd156f273d1 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Tue, 30 Apr 2019 14:41:26 -0400 Subject: [PATCH] Misc. source comment and documentation typo fixes Found via `codespell -q 3 -S ./gen.tab` --- NEWS | 2 +- lib/fribidi-bidi.c | 2 +- lib/fribidi-char-sets.h | 2 +- lib/fribidi-common.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 4f4dd3d..eb7a6b8 100644 --- a/NEWS +++ b/NEWS @@ -39,7 +39,7 @@ Overview of changes between 0.19.7 and 1.0 `fribidi_get_par_embedding_levels()` must be replaced with calls to `fribidi_get_par_embedding_levels_ex()`. These function are not API compatible. Calling the older function will use default values for - the new bracket properties and will sometimes yield non-complient + the new bracket properties and will sometimes yield non-compliant results. Overview of changes between 0.19.6 and 0.19.7 diff --git a/lib/fribidi-bidi.c b/lib/fribidi-bidi.c index 51ec141..6c84392 100644 --- a/lib/fribidi-bidi.c +++ b/lib/fribidi-bidi.c @@ -289,7 +289,7 @@ static void print_pairing_nodes(FriBidiPairingNode *nodes) * define macros for push and pop the status in to / out of the stack *-------------------------------------------------------------------------*/ -/* There are a few little points in pushing into and poping from the status +/* There are a few little points in pushing into and popping from the status stack: 1. when the embedding level is not valid (more than FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL=125), you must reject it, and not to push diff --git a/lib/fribidi-char-sets.h b/lib/fribidi-char-sets.h index a4af248..98ea109 100644 --- a/lib/fribidi-char-sets.h +++ b/lib/fribidi-char-sets.h @@ -70,7 +70,7 @@ FRIBIDI_ENTRY FriBidiStrIndex fribidi_charset_to_unicode ( * Returns: The length of the new string. */ FRIBIDI_ENTRY FriBidiStrIndex fribidi_unicode_to_charset ( - FriBidiCharSet char_set, /* character set to conver to */ + FriBidiCharSet char_set, /* character set to convert to */ const FriBidiChar *us, /* input Unicode string */ FriBidiStrIndex len, /* input string length */ char *s /* output string encoded in char_set */ diff --git a/lib/fribidi-common.h b/lib/fribidi-common.h index 0e873cc..4db1f22 100644 --- a/lib/fribidi-common.h +++ b/lib/fribidi-common.h @@ -49,7 +49,7 @@ * The dllimport is needed here mostly for the fribidi_version_info variable, * for functions it's not required. Probably needs more fine-tuning if * someone starts building fribidi as static library with MSVC. We'll cross - * that brige when we get there. */ + * that bridge when we get there. */ # define FRIBIDI_ENTRY __declspec(dllimport) extern # else # define FRIBIDI_ENTRY extern -- 2.40.0