[glib] glib: Correct typos of ‘character’



commit bd2fa546376c4ee83793cef2fbc814202a722437
Author: SilentFlame <csvinay d gmail com>
Date:   Thu Nov 10 23:02:55 2016 +0530

    glib: Correct typos of ‘character’
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774083

 glib/giochannel.c        |    2 +-
 glib/gregex.h            |    6 +++---
 glib/gvariant.c          |    2 +-
 glib/pcre/pcre_compile.c |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/glib/giochannel.c b/glib/giochannel.c
index fa90ea2..a9567c9 100644
--- a/glib/giochannel.c
+++ b/glib/giochannel.c
@@ -2515,7 +2515,7 @@ g_io_channel_write_unichar (GIOChannel  *channel,
 
   if (channel->partial_write_buf[0] != '\0')
     {
-      g_warning ("Partial charater written before writing unichar.\n");
+      g_warning ("Partial character written before writing unichar.\n");
       channel->partial_write_buf[0] = '\0';
     }
 
diff --git a/glib/gregex.h b/glib/gregex.h
index afae54e..45e198d 100644
--- a/glib/gregex.h
+++ b/glib/gregex.h
@@ -230,7 +230,7 @@ GQuark g_regex_error_quark (void);
  *     newline in the string, respectively, as well as at the very start
  *     and end. This can be changed within a pattern by a "(?m)" option
  *     setting.
- * @G_REGEX_DOTALL: A dot metacharater (".") in the pattern matches all
+ * @G_REGEX_DOTALL: A dot metacharacter (".") in the pattern matches all
  *     characters, including newlines. Without it, newlines are excluded.
  *     This option can be changed within a pattern by a ("?s") option setting.
  * @G_REGEX_EXTENDED: Whitespace data characters in the pattern are
@@ -243,7 +243,7 @@ GQuark g_regex_error_quark (void);
  *     it is constrained to match only at the first matching point in the
  *     string that is being searched. This effect can also be achieved by
  *     appropriate constructs in the pattern itself such as the "^"
- *     metacharater.
+ *     metacharacter.
  * @G_REGEX_DOLLAR_ENDONLY: A dollar metacharacter ("$") in the pattern
  *     matches only at the end of the string. Without this option, a
  *     dollar also matches immediately before the final character if
@@ -321,7 +321,7 @@ typedef enum
  *     it is constrained to match only at the first matching point in the
  *     string that is being searched. This effect can also be achieved by
  *     appropriate constructs in the pattern itself such as the "^"
- *     metacharater.
+ *     metacharacter.
  * @G_REGEX_MATCH_NOTBOL: Specifies that first character of the string is
  *     not the beginning of a line, so the circumflex metacharacter should
  *     not match before it. Setting this without #G_REGEX_MULTILINE (at
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 6c4f817..98b32e7 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -4259,7 +4259,7 @@ g_variant_dict_unref (GVariantDict *dict)
  * returned.  If @endptr is non-%NULL then it is updated to point to the
  * first character after the format string.
  *
- * If @limit is non-%NULL then @limit (and any charater after it) will
+ * If @limit is non-%NULL then @limit (and any character after it) will
  * not be accessed and the effect is otherwise equivalent to if the
  * character at @limit were nul.
  *
diff --git a/glib/pcre/pcre_compile.c b/glib/pcre/pcre_compile.c
index 01c0923..d0ed8fb 100644
--- a/glib/pcre/pcre_compile.c
+++ b/glib/pcre/pcre_compile.c
@@ -4858,7 +4858,7 @@ for (;; ptr++)
       else
 #endif /* SUPPORT_UTF */
 
-      /* Handle the case of a single charater - either with no UTF support, or
+      /* Handle the case of a single character - either with no UTF support, or
       with UTF disabled, or for a single character UTF character. */
         {
         c = code[-1];


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]