mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
small cleanup
svn path=/trunk/; revision=5465
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2007-04-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c: small coding style cleanups.
|
||||
|
||||
2007-04-27 Chris Wilson <chris@chris-wilson.co.uk>
|
||||
|
||||
* glib/gregex.h: Remove trailing comma at end of enumerator list.
|
||||
|
@@ -610,12 +610,11 @@ g_ascii_formatd (gchar *buffer,
|
||||
{
|
||||
*p = '.';
|
||||
p++;
|
||||
if (decimal_point_len > 1) {
|
||||
if (decimal_point_len > 1)
|
||||
{
|
||||
rest_len = strlen (p + (decimal_point_len-1));
|
||||
memmove (p, p + (decimal_point_len-1),
|
||||
rest_len);
|
||||
memmove (p, p + (decimal_point_len-1), rest_len);
|
||||
p[rest_len] = 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user