glib: Correct typos of ‘character’

https://bugzilla.gnome.org/show_bug.cgi?id=774083
This commit is contained in:
SilentFlame
2016-11-10 23:02:55 +05:30
committed by Philip Withnall
parent 2bdec0c2f2
commit bd2fa54637
4 changed files with 6 additions and 6 deletions

View File

@@ -2515,7 +2515,7 @@ g_io_channel_write_unichar (GIOChannel *channel,
if (channel->partial_write_buf[0] != '\0') 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'; channel->partial_write_buf[0] = '\0';
} }

View File

@@ -230,7 +230,7 @@ GQuark g_regex_error_quark (void);
* newline in the string, respectively, as well as at the very start * 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 * and end. This can be changed within a pattern by a "(?m)" option
* setting. * 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. * characters, including newlines. Without it, newlines are excluded.
* This option can be changed within a pattern by a ("?s") option setting. * This option can be changed within a pattern by a ("?s") option setting.
* @G_REGEX_EXTENDED: Whitespace data characters in the pattern are * @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 * 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 * string that is being searched. This effect can also be achieved by
* appropriate constructs in the pattern itself such as the "^" * appropriate constructs in the pattern itself such as the "^"
* metacharater. * metacharacter.
* @G_REGEX_DOLLAR_ENDONLY: A dollar metacharacter ("$") in the pattern * @G_REGEX_DOLLAR_ENDONLY: A dollar metacharacter ("$") in the pattern
* matches only at the end of the string. Without this option, a * matches only at the end of the string. Without this option, a
* dollar also matches immediately before the final character if * 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 * 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 * string that is being searched. This effect can also be achieved by
* appropriate constructs in the pattern itself such as the "^" * appropriate constructs in the pattern itself such as the "^"
* metacharater. * metacharacter.
* @G_REGEX_MATCH_NOTBOL: Specifies that first character of the string is * @G_REGEX_MATCH_NOTBOL: Specifies that first character of the string is
* not the beginning of a line, so the circumflex metacharacter should * not the beginning of a line, so the circumflex metacharacter should
* not match before it. Setting this without #G_REGEX_MULTILINE (at * not match before it. Setting this without #G_REGEX_MULTILINE (at

View File

@@ -4259,7 +4259,7 @@ g_variant_dict_unref (GVariantDict *dict)
* returned. If @endptr is non-%NULL then it is updated to point to the * returned. If @endptr is non-%NULL then it is updated to point to the
* first character after the format string. * 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 * not be accessed and the effect is otherwise equivalent to if the
* character at @limit were nul. * character at @limit were nul.
* *

View File

@@ -4858,7 +4858,7 @@ for (;; ptr++)
else else
#endif /* SUPPORT_UTF */ #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. */ with UTF disabled, or for a single character UTF character. */
{ {
c = code[-1]; c = code[-1];