diff options
author | Volker Sobek <reklov@live.com> | 2014-03-30 01:01:17 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-03-30 08:37:23 -0400 |
commit | a0b932ac8bc8a0ee40c32a8f87247baeab78f6ef (patch) | |
tree | 7f91a222947271b8b8385b793fce6ac8faf49a03 /glib | |
parent | 31694f9ccbb8a142998252288cd04d9738451a7f (diff) |
docs: Remove escaping '\' from literals
commit 35066ed6c6b51317f49069f2564c547aa309f9f1 replaced entities, but
escaped the replacement text also inside literals, which resulted in the
escaping '\' to also appear in the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=727320
Diffstat (limited to 'glib')
-rw-r--r-- | glib/gdatetime.c | 2 | ||||
-rw-r--r-- | glib/gkeyfile.c | 2 | ||||
-rw-r--r-- | glib/grand.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/glib/gdatetime.c b/glib/gdatetime.c index 1771d0fe9..2d20679f0 100644 --- a/glib/gdatetime.c +++ b/glib/gdatetime.c @@ -2548,7 +2548,7 @@ g_date_time_format_locale (GDateTime *datetime, * - \%C: the century number (year/100) as a 2-digit integer (00-99) * - \%d: the day of the month as a decimal number (range 01 to 31) * - \%e: the day of the month as a decimal number (range 1 to 31) - * - \%F: equivalent to `\%Y-\%m-\%d` (the ISO 8601 date format) + * - \%F: equivalent to `%Y-%m-%d` (the ISO 8601 date format) * - \%g: the last two digits of the ISO 8601 week-based year as a * decimal number (00-99). This works well with \%V and \%u. * - \%G: the ISO 8601 week-based year as a decimal number. This works diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c index f9ca303df..cc51eda69 100644 --- a/glib/gkeyfile.c +++ b/glib/gkeyfile.c @@ -116,7 +116,7 @@ * Key-value pairs generally have the form `key=value`, with the * exception of localized strings, which have the form * `key[locale]=value`, with a locale identifier of the - * form `lang_COUNTRY\@MODIFIER` where `COUNTRY` and `MODIFIER` + * form `lang_COUNTRY@MODIFIER` where `COUNTRY` and `MODIFIER` * are optional. * Space before and after the '=' character are ignored. Newline, tab, * carriage return and backslash characters in value are escaped as \n, diff --git a/glib/grand.c b/glib/grand.c index 6b6ca9881..6262cd21b 100644 --- a/glib/grand.c +++ b/glib/grand.c @@ -92,7 +92,7 @@ * * The g_rand*_range functions will return high quality equally * distributed random numbers, whereas for example the - * `(g_random_int()\%max)` approach often + * `(g_random_int()%max)` approach often * doesn't yield equally distributed numbers. * * GLib changed the seeding algorithm for the pseudo-random number |