mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-02 23:07:12 +01:00
Small formatting fixes.
* glib/tmpl/string_utils.sgml: * glib/tmpl/threads.sgml: Small formatting fixes.
This commit is contained in:
@@ -643,7 +643,7 @@ The typical usage would be something like:
|
||||
<informalexample><programlisting>
|
||||
char buf[G_ASCII_DTOSTR_BUF_SIZE];
|
||||
|
||||
fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
||||
fprintf (out, "value=&percent;s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
|
||||
|
||||
@@ -488,7 +488,7 @@ access. A first naive implementation would be:
|
||||
static GMutex * mutex = NULL;
|
||||
|
||||
if (!mutex)
|
||||
mutex = g_mutex_new ();
|
||||
mutex = g_mutex_new (<!-- -->);
|
||||
g_mutex_lock (mutex);
|
||||
ret_val = current_number = calc_next_number (current_number);
|
||||
g_mutex_unlock (mutex);
|
||||
|
||||
Reference in New Issue
Block a user