svn path=/trunk/; revision=5465
+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.
{
*p = '.';
p++;
- if (decimal_point_len > 1) {
- rest_len = strlen (p + (decimal_point_len-1));
- memmove (p, p + (decimal_point_len-1),
- rest_len);
- p[rest_len] = 0;
-
- }
+ if (decimal_point_len > 1)
+ {
+ rest_len = strlen (p + (decimal_point_len-1));
+ memmove (p, p + (decimal_point_len-1), rest_len);
+ p[rest_len] = 0;
+ }
}
}
{
int i;
- for(i = 0; str_array[i] != NULL; i++)
- g_free(str_array[i]);
+ for (i = 0; str_array[i] != NULL; i++)
+ g_free (str_array[i]);
g_free (str_array);
}