]> granicus.if.org Git - fribidi/commitdiff
Misc. source comment and documentation typo fixes
authorluz.paz <luzpaz@users.noreply.github.com>
Tue, 30 Apr 2019 18:41:26 +0000 (14:41 -0400)
committerKhaled Hosny <khaledhosny@eglug.org>
Tue, 30 Apr 2019 20:40:30 +0000 (22:40 +0200)
Found via `codespell -q 3 -S ./gen.tab`

NEWS
lib/fribidi-bidi.c
lib/fribidi-char-sets.h
lib/fribidi-common.h

diff --git a/NEWS b/NEWS
index 4f4dd3d9aa057cce31f528b21e7c468a28b51010..eb7a6b892a72f0abc311db747ca78b0081414543 100644 (file)
--- 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
index 51ec1410f0376fee771bed2dc435472522ca052a..6c843922685c6e36dc1b5311a92d3b3555b0ac0d 100644 (file)
@@ -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
index a4af248e93bfe6fef10c669b83595be925722cc4..98ea1090b94477bed7aa15a79c2db04db3b83adf 100644 (file)
@@ -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 */
index 0e873cc7262e660cd83afc0a4422f0cbd2cf71f2..4db1f2266903f1d88a1fd9b7f66e2ebbc4da7c50 100644 (file)
@@ -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